title: angularjs lifecycle: $onInit not called
body: <p>the documentation for migration from angularjs 1.5 to 1.6 says "Disabling (by default) the pre-assignment of bindings on controller instances, which helps with support for native ES6 classes." and "Initialization logic that relies on bindings being present should be put in the controller's $onInit() method, which is guaranteed to always be called after the bindings have been assigned."</p>
  
  <p>I try to do this migration for our project and I observed, that for some of the controllers $onInit doesn't get called. In the official documentation I didn't find anything related to this, but there are some other sources:</p>
  
  <p><a href="https://www.tejusparikh.com/2017/universality-oninit-callback-angularjs.html" rel="noreferrer">https://www.tejusparikh.com/2017/universality-oninit-callback-angularjs.html</a></p>
  
  <p><a href="https://github.com/angular/angular.js/issues/14630" rel="noreferrer">https://github.com/angular/angular.js/issues/14630</a></p>
  
  <p>Are there other cases when the $onInit doesn't get called? Is this documented somewhere "more officially"?</p>
  
  <p>Thank you!</p>