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

ES6 arrow functions, syntax and lexical scoping

ES2015 (ES6) introduces a really nice feature that punches above its weight in terms of simplicity to integrate versus time saving and feature output. This feature is the arrow function....

Read more ES6 arrow functions, syntax and lexical scoping

AngularJS one-time binding syntax

Angular 1.3 shipped with an awesome new performance enhancing feature - one-time binding. What does this mean for us Angular developers and the performance of our apps? A lot! For...

Read more AngularJS one-time binding syntax

Polyfills suck, use a featurefill instead

I’m going to dub this a featurefill as the post title suggests, but it’s more a feature-detect-closure-binding-smart-polyfill-api-checker-reusable-function-awesomeness. So, what’s the deal?… I’m a huge fan of polyfilling behaviour for older...

Read more Polyfills suck, use a featurefill instead

Opinionated AngularJS styleguide for teams

After reading Google’s AngularJS guidelines, I felt they were a little too incomplete and also guided towards using the Closure library. They also state “We don’t think this makes sense...

Read more Opinionated AngularJS styleguide for teams

Replacing switch statements with Object literals

In many programming languages, the switch statement exists - but should it any longer? If you’re a JavaScript programmer, you’re often jumping in and out of Objects, creating, instantiating and...

Read more Replacing switch statements with Object literals

Angular’s dependency injection annotation process

For those familiar with Angular’s dependency injection (DI), this post will dive into some of the “under the hood” methods that power the DI process. For those who aren’t familiar...

Read more Angular’s dependency injection annotation process

Web Components and concepts, ShadowDOM, imports, templates, custom elements

Web Components, the future of the web, inspired from attending Google I/O I decided to pick up Web Components and actually build something. Since learning the basics around a year...

Read more Web Components and concepts, ShadowDOM, imports, templates, custom elements

Methods to determine if an Object has a given property

There are multiple ways to detect whether an Object has a property. You’d think it’d be as easy as myObject.hasOwnProperty('prop'); - but no, there are a few different ways with...

Read more Methods to determine if an Object has a given property

Minimal Angular module/syntax approach using an IIFE

Since day one using Angular, I’ve always debated on how I should be extending modules. This post talks through some common Angular patterns, from variable to chaining and a variant....

Read more Minimal Angular module/syntax approach using an IIFE

Understanding Angular’s $scope and $rootScope event system $emit, $broadcast and $on

Angular’s $emit, $broadcast and $on fall under the common “publish/subscribe” design pattern, or can do, in which you’d publish an event and subscribe/unsubscribe to it somewhere else. The Angular event...

Read more Understanding Angular’s $scope and $rootScope event system $emit, $broadcast and $on