dist/angular-permission.js
function onAuthorizedAccess() {
          if (angular.isFunction(permission.onAuthorized)) {
            permission.onAuthorized()($element);
          } else {
            var onAuthorizedMethodName = $permission.defaultOnAuthorizedMethod;
            PermPermissionStrategies[onAuthorizedMethodName]($element);
          }
        }
function onAuthorizedAccess() {
          if (angular.isFunction(permission.onAuthorized)) {
            permission.onAuthorized()($element);
          } else {
            var onAuthorizedMethodName = $permission.defaultOnAuthorizedMethod;
            PermPermissionStrategies[onAuthorizedMethodName]($element);
          }
        }
function onAuthorizedAccess ( ) { if ( angular . isFunction ( permission . onAuthorized ) ) { permission . onAuthorized ( ) ( $element ) ; } else { var onAuthorizedMethodName = $permission . defaultOnAuthorizedMethod ; PermPermissionStrategies [ onAuthorizedMethodName ] ( $element ) ; } }
Calls `onAuthorized` function if provided or show element
@private
Calls onAuthorized function if provided or show element