(AppCtrl) Clear loading flag after any successful route change

Previously, the login page was resetting the login button a few split seconds
before the page changed, which made the page look glitchy. This commit places
the $rootScope.loading reset after the $routeChangeSuccess event, which fixes
the glitchiness.