Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    angular-offpublic

    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

    Downloadslast 7 days

    3

    version

    0.0.1

    license

    none

    last publish

    collaborators

    • avatar