app.config.js 209 B

1234567
  1. app.run(function($rootScope) {
  2. $rootScope.$on("$locationChangeStart", function(event, next, current) {
  3. console.log(event);
  4. console.log(current);
  5. // handle route changes
  6. });
  7. });