arrow_back Back to Notebook
angular/angularjs
angular/angularjs
February 28, 2019

AngularJS component lifecycle cheatsheet

These are the lifecycles to remember in AngularJS.

$onInit() implements IOnInit

Called when the controller has had all its bindings initialized.

$onDestroy() implements IOnDestroy

Called on a controller when its containing scope is destroyed.

$onChanges(changesObj)

Called whenever one-way bindings are updated.

$doCheck()

Called on each turn of the digest cycle.

$postLink()

Called after this controller's element and its children have been linked.

Thanks for reading!

John Wiseman

Full-Stack Software Engineer building scalable digital solutions. specializing in modern web technologies and mission-critical systems.

© 2026 Wiseman Systems Pty. Ltd.

Navigation

Start a Conversation

Ready to discuss your next project? Let's build something extraordinary together.

Get in Touch