Blog
Tutorials, guides and expert articles.
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 ...

Todd Motto
Dec 21, 2015
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...

Todd Motto
Dec 15, 2015
Join our email community
Developer tips and tricks, motivation, discounts and new course launches.
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...

Todd Motto
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...

Todd Motto
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 ...

Todd Motto
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...

Todd Motto
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...

Todd Motto
Nov 13, 2015

Walkthrough to upgrade an Angular 1.x component to Angular 2
In this article we’re going to look at upgrading your first AngularJS (1.x) component, a simple todo app, across to Angular (v2+) code. We’ll compa...

Todd Motto
Oct 27, 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...

Todd Motto
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 ``.

Todd Motto
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...

Todd Motto
Jul 21, 2015