Page Inactivity Handling, AngularJS Upgrade