Called on each controller after all the controllers on an element have been constructed and had their bindings initialized (and before the pre & post linking functions for the directives on this element). This is a good place to put initialization code for your controller.
Generated using TypeDoc
Interface for the $onInit lifecycle hook https://docs.angularjs.org/api/ng/service/$compile#life-cycle-hooks