Comcast interview question

explain lifecycle events in angular