How I've Improved My Angular Apps by Banning ng-controller

Posted on by Tero Parviainen

The "Angular 2.0 Core" talk by Igor Minar and Tobias Bosch was an ng-europe highlight for me. What they basically did was announce a mass slaughter of Angular 1.x features and API cruft, worthy of a Game of Thrones wedding.

One of my favourite moments was when they announced the removal of controllers. This is because I've recently come to a realization that using standalone controllers, as with ng-controller, rarely leads to an optimal design.

Read more →


Web Components and Bottom-Up Design

Or, how I may have been missing the point

Posted on by Tero Parviainen

I've been having a hard time getting excited about Web Components. I mean, I'm pretty sure I get why they're useful and I expect to be using them a lot in the future. It's just that I haven't been able to see Web Components as the "tectonic shift" people make them out to be.

Read more →


AngularJS Dependency Injection from The Ground Up

Posted on by Tero Parviainen

Much has been written about Angular's dependency injection framework. As I've been recently writing the dependency injection chapters of Build Your Own AngularJS, I thought I might as well join the club and provide my own introduction to Angular DI.

This article addresses the dependency injector of Angular 1.x, which is the version everyone is currently using. The 2.0 version will be very different, and is an interesting topic in its own right. I've written a bit about it earlier.

Read more →


CraftConf 2014 - Day 1 Summarized

Posted on by Tero Parviainen

The CraftConf conference has me back in Budapest for some industrial strength geekery, and what a conference it is! The speaker lineup is what originally attracted me here and it certainly hasn't disappointed. But everything else has just worked as well: The venue is fantastic, the Wifi uncharacteristically functional, the pacing of the schedule just right and the coffee in between sessions good. Kudos to the organizers!

Here's a hopefully semi-cohesive summary of some of the talks I attended today.

Read more →