angular-cn/modules/@angular/upgrade/test
Georgios Kalpakas e5c4e5801f fix(upgrade): fix/improve support for lifecycle hooks (#13020)
With the exception of `$onChanges()`, all lifecycle hooks in ng1 are called on
the controller, regardless if it is the binding destination or not (i.e.
regardless of the value of `bindToController`).

This change makes `upgrade` mimic that behavior when calling lifecycle hooks.

Additionally, calling the `$onInit()` hook has been moved before calling the
linking functions, which also mimics the ng1 behavior.
2016-12-27 14:42:53 -08:00
..
aot feat(upgrade): support the `$doCheck()` lifecycle hook in `UpgradeComponent` (#13015) 2016-12-20 16:18:43 -08:00
metadata_spec.ts chore(lint): remove unused imports (#11923) 2016-09-27 17:12:25 -07:00
upgrade_spec.ts fix(upgrade): fix/improve support for lifecycle hooks (#13020) 2016-12-27 14:42:53 -08:00