Angular 1.5 new component lifecycle hooks – codelord.net

  • With 1.5.3 components have become a bit smarter and a bit more compatible with Angular 2.
  • The hook, similarly to $onChanges , makes things simpler and saves us a dependency on $scope .
  • This, together with the $element injectable we have in components makes it even less likely that you’ll need to write an old-style directive.

Read the full article, click here.


@avivby: “Blogged: Angular 1.5 new component lifecycle hooks #AngularJS”


It’s only been 2.5 months since Angular 1.5 came out, introducing components.
Most companies haven’t even had the chance to upgrade yet.
Yet, in the …


Angular 1.5 new component lifecycle hooks – codelord.net

You might also like More from author

Comments are closed, but trackbacks and pingbacks are open.