text: /**
   * angular-permission-ng
   * Extension module of angular-permission for access control within angular-route
   * @version v5.1.0 - 2016-12-10
   * @link https://github.com/Narzerus/angular-permission
   * @author Rafael Vidaurre <narzerus@gmail.com> (http://www.rafaelvidaurre.com), Blazej Krysiak <blazej.krysiak@gmail.com>
   * @license MIT License, http://www.opensource.org/licenses/MIT
   */
  
  
  !function(a,angular,b){"use strict";function c(a,b,c,d,e,f){"ngInject";a.$on("$routeChangeStart",function(a,g,h){function i(){try{return!!g.$$route.data.permissions}catch(a){return!1}}function j(){c.next=g,c.current=h}function k(){var a=new f({only:g.$$route.data.permissions.only,except:g.$$route.data.permissions.except,redirectTo:g.$$route.data.permissions.redirectTo}),b=e.authorizeByPermissionMap(a);return b.then(function(){l()})["catch"](function(b){m(b,a)}),b}function l(){d.broadcastPermissionAcceptedEvent()}function m(a,c){d.broadcastPermissionDeniedEvent(),c.resolveRedirectState(a).then(function(a){b.path(a.state).replace()})}j(),i()&&!d.areEventsDefaultPrevented()&&(d.broadcastPermissionStartEvent(),g.$$route.resolve=g.$$route.resolve||{},g.$$route.resolve.$$permission=k)})}function d(a,b,c,d){"ngInject";function e(){return i()}function f(){b.$broadcast(d.permissionStart,c.next)}function g(){b.$broadcast(d.permissionAccepted,c.next)}function h(){b.$broadcast(d.permissionDenied,c.next)}function i(){return b.$broadcast(d.permissionStart,c.next).defaultPrevented}return a.areEventsDefaultPrevented=e,a.broadcastPermissionStartEvent=f,a.broadcastPermissionAcceptedEvent=g,a.broadcastPermissionDeniedEvent=h,a}c.$inject=["$rootScope","$location","PermTransitionProperties","PermTransitionEvents","PermAuthorization","PermPermissionMap"],d.$inject=["$delegate","$rootScope","PermTransitionProperties","PermTransitionEventNames"];var e=angular.module("permission.ng",["permission","ngRoute"]).run(c);"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports=e.name),angular.module("permission.ng").decorator("PermTransitionEvents",d);var f={permissionStart:"$routeChangePermissionStart",permissionAccepted:"$routeChangePermissionAccepted",permissionDenied:"$routeChangePermissionDenied"};angular.module("permission.ng").value("PermTransitionEventNames",f)}(window,window.angular);
  //# sourceMappingURL=angular-permission-ng.min.js.map