Wondering what’s next for npm?Check out our public roadmap! »

angular-off

0.0.1 • Public • Published

angular-off Build Status

angular.module('controllers', [])
  .controller('MainCtrl', function() {
 
    $scope.$on('$routeChangeError', function(event, current, prevous, rejection) {
      alert('Filed to change routes!');
    });
 
    $scope.button = function() {
     $scope.$off('$routeChangeError');
    };
 
  });
 

Keywords

none

Install

npm i angular-off

DownloadsWeekly Downloads

3

Version

0.0.1

License

none

Last publish

Collaborators

  • avatar