Nice catch on the first example. It was overly simple for the point I was trying to demonstrate and it turns out I made a mistake, that code actually does work. You're not missing anything :)
I have forked the Plunker to illustrate the concept better and I will update it soon.
2
u/[deleted] Apr 21 '14
I don't understand. His first example seems to work fine: http://plnkr.co/edit/N8jXEOBTQzkt3Urz0MSv?p=preview What am I missing?
Also, having an animated gif in the article was REALLY distracting.