Persistent Systems Interview Question

AngularJS life cycle