I know there is no catchall controller for Angular. E.g.:
 $routeProvider.otherwise({
 controller: 'CatchAllCtrl'
 });
However, is there a way to call some code if $routeProvider.otherwise is triggered so I can at least know that otherwise was called and what the route was?
 
     
     
     
    