Using AngularJS with jekyll

How to make AngularJS works with jekyll since both are using double curly braces syntax
Read more →

AngularJS diary - Day 4

##Update ng-model of one controller from another Using $broadcast to broadcast a message (or $emit) and put listener on that message on receiver. // unrelated controllers -> $rootScope broadcasts App.controller('Ctrl1', function($rootScope, $scope) { $rootScope.$broadcast('msgid', msg); }); App.controller('Ctrl2', function($scope) { $scope.$on('msgid', function(event, msg) { console.log(msg); }); }); When to use $broadcast and when to use $emit? $broadcast — dispatches the event downwards to all child scopes, $emit — dispatches the event upwards through the scope hierarchy.
Read more →

The next bullet on my resume: AngularJS

I started a HTML5 hybrid mobile app project recently. Before I start coding the frontend, I had to decide which client side JavaScript framework I will be using. The choice narrows down between AngularJS (Ionic framework) and Ember. Of those two, AngularJS is obviously the more popular choice. There’re many frameworks built on AngularJS; thousands of questions on StackOverflow; lots of open-source projects base on AngularJS on GitHub. There are many great frameworks out there but few has gained so much developer mindshare like AngularJS.
Read more →