Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- app.run(function($rootScope, $location) {
- $rootScope.$on('$routeChangeSuccess', function () {
- if (true)
- $location.url("/login")
- })
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement