News for hackers. Stuff that matters.
Re:Building Decoupled JS Applications With Postal.js by dgritsko on Thursday January 31, 2013 @12:35PM (#5146107)
You can also accomplish the same effect in Angular by creating several "controllers" with focused responsibilities, then communicating via events with $rootScope.$broadcast (publish) and $scope.$on (subscribe). I've been using this pattern a lot recently and have found it does a great job encouraging separation of concerns.

There are no comments on this comment yet.