Category: Javascript

Mocking Angular 2 service calls with Observables in component unit tests
Unit Testing Angular 2 Component service calls… read more

AngularJS Image Loaded Directive
A simple directive to check if your images have loaded… read more

AngularJs Google Maps Directive
Google maps directive that supports both postcode and longitude/latitude… read more

HTML select boxes and AngularJS
Dynamic select boxes in AngularJs and selecting a default value with ng-init… read more

AngularJS form validation
AngularJS form validation and showing form errors on submit… read more

AngularJS data binding
AngularJS data binding Tutorial… read more

Vanilla JS equivalent of $(document).ready()
Javascript $(document).ready()… read more

AngularJS directives – The basics
AngularJS directives tutorial… read more

AngularJS Routes
AngularJS routing tutorial… read more

chart.js poor animations and scaled on Retina fix
chart.js animations issues… read more

Passing variables between pages in Phonegap and jQuery Mobile
Passing variables in Phonegap using local storage… read more

jQuery Mobile flashing page transitions
jQuery mobile page transition bug… read more