code: function onUnauthorizedAccess() {
            if (angular.isFunction(permission.onUnauthorized)) {
              permission.onUnauthorized()($element);
            } else {
              var onUnauthorizedMethodName = $permission.defaultOnUnauthorizedMethod;
              PermPermissionStrategies[onUnauthorizedMethodName]($element);
            }
          }
docs: Calls `onUnauthorized` function if provided or hide element
  @private