Todd Motto

Todd Motto

Owner, Ultimate Angular
Dec 10, 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...

Dec 7, 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....

Nov 13, 2015

Exploring the Angular 1.5 .component() method

AngularJS 1.5 introduced the .component() helper method, which is much simpler than the .directive() definition...

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

Oct 24, 2015

Superfast Angular: use ngModelOptions to limit $digest cycles

The $digest cycle is the critical entity for keeping our Angular applications fast: the faster...

Oct 18, 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...

Jul 21, 2015

No $scope soup, bindToController in AngularJS

Namespacing, code consistency and proper design patterns really matter in software engineering, and Angular addresses...

Jun 24, 2015

Being a healthy software engineer

This post is a little off topic today, but after a few tweets of mine...

Apr 20, 2015

A better way to $scope, angular.extend, no more “vm = this”

The evolution of Angular Controllers has changed over the last year. As of now, most...

Apr 17, 2015

Killing it with Angular Directives; Structure and MVVM

In this post I’m going to outline my approach on writing Directives for Angular 1.x...

Apr 14, 2015

ES6 arrow functions, syntax and lexical scoping

ES2015 (ES6) introduces a really nice feature that punches above its weight in terms of...