Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat($compile): call
$ngOnInit
on directive controllers after contr…
…oller construction This enables option three of angular#13510 (comment) by allowing the creator of directive controllers using ES6 classes to have a hook that is called when the bindings are definitely available. Moreover this will help solve the problem of accessing `require`d controllers from controller instances without resorting to wiring up in a `link` function. See angular#5893
- Loading branch information