dist/angular-permission-ui.js
function handleAuthorizedState() {
        PermTransitionEvents.broadcastPermissionAcceptedEvent();

        // Overwrite notify option to broadcast it later
        var transitionOptions = angular.extend({}, PermTransitionProperties.options, {
          notify: false,
          location: true
        });

        $state
          .go(PermTransitionProperties.toState.name, PermTransitionProperties.toParams, transitionOptions)
          .then(function () {
            PermTransitionEvents.broadcastStateChangeSuccessEvent();
          });
      }
function handleAuthorizedState() {
        PermTransitionEvents.broadcastPermissionAcceptedEvent();

        // Overwrite notify option to broadcast it later
        var transitionOptions = angular.extend({}, PermTransitionProperties.options, {
          notify: false,
          location: true
        });

        $state
          .go(PermTransitionProperties.toState.name, PermTransitionProperties.toParams, transitionOptions)
          .then(function () {
            PermTransitionEvents.broadcastStateChangeSuccessEvent();
          });
      }
function handleAuthorizedState ( ) { PermTransitionEvents . broadcastPermissionAcceptedEvent ( ) ; // Overwrite notify option to broadcast it later var transitionOptions = angular . extend ( { } , PermTransitionProperties . options , { notify : false , location : true } ) ; $state . go ( PermTransitionProperties . toState . name , PermTransitionProperties . toParams , transitionOptions ) . then ( function ( ) { PermTransitionEvents . broadcastStateChangeSuccessEvent ( ) ; } ) ; }
Handles redirection for authorized access
@method
@private
Handles redirection for authorized access