Become an Angular expert.

Learn how
  • Far beyond the basics
  • Get up to speed quickly
  • Teaching from real experience
  • Up-to-date material
  • Proven results

AngularJS

All articles on AngularJS (1.x), beginner and advanced posts

Should you learn Angular 1.x or 2?

A question that I’m frequently asked, “should I learn Angular 1 or...

Jan 20, 2017 7 mins read

Angular 1.6 is here, this is what you need to know

AngularJS 1.6 was just released! Here’s the low down on what to...

Dec 6, 2016 8 mins read

Modern Angular 1.x essential interview questions

AngularJS 1.x has changed a lot with version 1.5 introducing .component(), and...

Nov 4, 2016 5 mins read

The future for Angular 1.x, what next?

Angular 2 is upon us, and with the new approach the Angular...

Nov 4, 2016 11 mins read

Documenting your Angular app using Dgeni in 10 easy steps

The following is a guest post by @sebastpelletier. Don’t hate on me,...

Sep 30, 2016 25 mins read

All about $q and Promises in Angular

You’ve seen $q, maybe used it, but haven’t uncovered some of the...

Aug 15, 2016 6 mins read

A new Angular 1.x ES2015 styleguide, the path to Angular 2

As many of you know, I created an AngularJS (1.x) styleguide back...

Jun 13, 2016 5 mins read

Lifecycle hooks in Angular 1.5

Lifecycle hooks are simply functions that get called at specific points of...

Jun 3, 2016 20 mins read

Angular .service() or .factory(), the actual answer

I was giving a workshop earlier this week, and as the workshop...

Mar 11, 2016 5 mins read

$onInit and new "require" Object syntax in Angular components

The component() helper method shipped with so many great features to take...

Feb 11, 2016 3 mins read

Stateless Angular components

There were a tonne of interesting changes happening in the beta and...

Feb 8, 2016 2 mins read

One-way data-binding in Angular 1.5

Angular is known for its powerful two-way data-binding, but with the new...

Feb 5, 2016 4 mins read

Angular modules, setters, getters and bootstrapping

The first place you’ll usually start in any Angular application or module...

Dec 21, 2015 4 mins read

Using Controller $filters to prevent $digest performance issues

Filters in Angular massively contribute to slow performance, so let’s adopt a...

Dec 15, 2015 4 mins read

Resolve promises in Angular routes

Phase 1 of our Angular careers involved $http inside a Controller. Phase...

Dec 14, 2015 4 mins read

Directive to Directive communication with "require"

Communication between Directives can be done in various ways. When dealing with...

Dec 14, 2015 3 mins read

Dynamic Controllers in Directives with the undocumented "name" property

Assigning Controllers to Angular Directives is the norm when building out components....

Dec 10, 2015 2 mins read

Angular component() method back-ported to 1.3+

AngularJS 1.5 is soon to release the component() method which I wrote...

Dec 7, 2015 4 mins read

Exploring the Angular 1.5 .component() method

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

Nov 13, 2015 7 mins read

Superfast Angular: use ngModelOptions to limit $digest cycles

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

Oct 24, 2015 3 mins read

Moving from ngModel.$parsers /ng-if to ngModel.$validators /ngMessages

Implementing custom Model validation is typically done by extending the built-in $error...

Oct 18, 2015 6 mins read

No $scope soup, bindToController in AngularJS

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

Jul 21, 2015 4 mins read

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

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

Apr 20, 2015 2 mins read

Killing it with Angular Directives; Structure and MVVM

In this post I’m going to outline my approach on writing Directives...

Apr 17, 2015 10 mins read

AngularJS one-time binding syntax

Angular 1.3 shipped with an awesome new performance enhancing feature - one-time...

Dec 12, 2014 2 mins read

Opinionated AngularJS styleguide for teams

After reading Google’s AngularJS guidelines, I felt they were a little too...

Jul 23, 2014 10 mins read

Angular’s dependency injection annotation process

For those familiar with Angular’s dependency injection (DI), this post will dive...

Jul 11, 2014 10 mins read

Minimal Angular module/syntax approach using an IIFE

Since day one using Angular, I’ve always debated on how I should...

Jun 17, 2014 7 mins read

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

Jun 11, 2014 6 mins read

Rethinking AngularJS Controllers

Note: please don’t use this approach anymore, use Components and one-way dataflow...

Jun 9, 2014 6 mins read

Everything about custom filters in AngularJS

Angular filters are one of the toughest concepts to work with. They’re...

May 28, 2014 5 mins read

Digging into Angular’s “Controller as” syntax

AngularJS Controllers have recently gone under some changes (version 1.2 to be...

May 26, 2014 6 mins read

Creating an AngularJS Directive from one of your existing plugins/scripts

Writing scripts for your websites or web apps is often a simple...

Oct 7, 2013 4 mins read

Ultimate guide to learning AngularJS in one day

Angular is a client-side MVC/MVVM framework built in JavaScript, essential for modern...

Oct 2, 2013 23 mins read