mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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. |
||
|---|---|---|
| .. | ||
| src | ||
| test | ||
| index.ts | ||
| package.json | ||
| rollup-static.config.js | ||
| rollup.config.js | ||
| static.ts | ||
| tsconfig-build.json | ||