I'm Todd, I teach the world Angular through @UltimateAngular. Conference speaker and Developer Expert at Google.

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 between creating a module (a setter) and...

Read more Angular modules, setters, getters and bootstrapping

A year in review of toddmotto​.com

2015 was a crazy year for me, a lot happened and much of it is down to this blog and you as a wonderful reader/sharer of my content. I’ve grown...

Read more A year in review of toddmotto​.com

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 minute to code, but will dramatically...

Read more Using Controller $filters to prevent $digest performance issues

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 Controller. Phase 3 is the resolve...

Read more Resolve promises in Angular routes

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 Directive Controllers to talk between them. In this article...

Read more Directive to Directive communication with

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 the same Directive and template? There are...

Read more Dynamic Controllers in Directives with the undocumented

Angular component() method back-ported to 1.3+

Angular 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 feature so anyone running Angular 1.3...

Read more Angular component() method back-ported to 1.3+

Exploring the Angular 1.5 .component() method

Angular 1.5 introduced the .component() helper method, which is much simpler than the .directive() definition and advocates best practices and common default behaviours. Using .component() will allow developers to write...

Read more Exploring the Angular 1.5 .component() method

Walkthrough to upgrade an Angular 1.x component to Angular 2

In this article we’re going to look at upgrading your first Angular 1.x component, a simple todo app, across to Angular 2 code. We’ll compare the API differences, templating syntaxes...

Read more Walkthrough to upgrade an Angular 1.x component to Angular 2

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. JavaScript has a single thread of execution,...

Read more Superfast Angular: use ngModelOptions to limit $digest cycles