angular-styleguide icon indicating copy to clipboard operation
angular-styleguide copied to clipboard

$onInit lifecycle hook for angular 1.5?

Open RyanDawkins opened this issue 10 years ago • 2 comments

RyanDawkins avatar Oct 13 '16 19:10 RyanDawkins

$onInit is a component lifecycle hook. It is called after all bindings are initialized, but before the template is rendered. It’s the recommended place for initialization logic in AngularJS components. If you have any specific question or need a sample code let me know.

kartik1211 avatar Jan 15 '26 03:01 kartik1211

Thank you for the thoughtful suggestion! Since Angular 1 has reached end of life, the style guide has stabilized and we're no longer adding new rules or making structural changes. The guide remains a valuable reference as-is. Appreciate your contribution to the community! 🙏

johnpapa avatar Apr 30 '26 18:04 johnpapa