ngParty / ng-metadata

Angular 2 decorators and utils for Angular 1.x
https://hotell.gitbooks.io/ng-metadata/content/
MIT License
355 stars 46 forks source link

ngOnChanges is firing before ngOnInit #199

Open gnalFF opened 7 years ago

gnalFF commented 7 years ago

Hi,

first of all thank you for this wonderful project.

One thing I noticed an which was already addressed in angular (https://github.com/angular/angular/issues/7782) is that ngOnChanges fires before ngOnInit.

Could you also align here and fire this event only after the ngOnInit was fired as this leads to boiler plate all over.

ng-metadata@4.0.1