Explore the depths of the AngularJS (1.x) framework and best-practices.
One-way data-binding in Angular 1.5
Angular is known for its powerful two-way data-binding, but with the new release of AngularJS 1.5, we’ve got one-way data binding (one-directional)...
Feb 5, 2016
Angular modules, setters, getters and bootstrapping
The first place you’ll usually start in any Angular application or module library, is creating a module. Let’s walk through the syntax differences ...
Dec 21, 2015
Join our email community
Developer tips and tricks, motivation, discounts and new course launches.
✅ Successfully subscribed!
Using Controller $filters to prevent $digest performance issues
Filters in Angular massively contribute to slow performance, so let’s adopt a sensible way of doing things, which may take you an additional ten mi...
Dec 15, 2015
Resolve promises in Angular routes
Phase 1 of our Angular careers involved $http inside a Controller. Phase 2 involved abstracting into a Service and calling the Service inside a Con...
Dec 14, 2015
Directive to Directive communication with require
Communication between Directives can be done in various ways. When dealing with Directives that have a hierarchical relationship we can use Directi...
Dec 14, 2015
Dynamic Controllers in Directives with the undocumented name property
Assigning Controllers to Angular Directives is the norm when building out components. But what if you wanted to dynamically assign a Controller to ...
Dec 12, 2015
Angular component method back-ported to 1.3
AngularJS 1.5 is soon to release the component() method which I wrote about last month. I decided to back-port the functionality from the new featu...
Dec 7, 2015
Exploring the Angular 1.5 .component method
AngularJS 1.5 introduced the .component() helper method, which is much simpler than the .directive() definition and advocates best practices and co...
Nov 13, 2015
Superfast Angular use ngModelOptions to limit $digest cycles
The $digest cycle is the critical entity for keeping our Angular applications fast: the faster the cycle, the faster the two-way data binding. Java...
Oct 24, 2015
Moving from ngModel.$parsers ng-if to ngModel.$validators ngMessages
Implementing custom Model validation is typically done by extending the built-in $error Object bound to AngularJS form models, such as a simple ``.
Oct 18, 2015
No $scope soup, bindToController in AngularJS
Namespacing, code consistency and proper design patterns really matter in software engineering, and Angular addresses a lot of issues we face as fr...
Jul 21, 2015