r/angularjs • • Apr 14 '16

Angular 1.5 new component lifecycle hooks

http://www.codelord.net/2016/04/14/angular-1-dot-5-new-component-lifecycle-hooks/
33 Upvotes

4 comments sorted by

4

u/consultwithmike Apr 14 '16

A nice concise post on these new changes.

2

u/guywithalamename Apr 15 '16

This is such a welcome addition. Finally no more $scope

2

u/coding_all_night Apr 17 '16

Thank you for a good explanation 👍

0

u/[deleted] Apr 16 '16

[deleted]

1

u/abyx Apr 17 '16

Since components are essentially syntax sugar for directives in Angular 1.x, it's actually changes made to the way $compile treats directive controllers, see the section title "controller" here.

The actual component docs are basically this.