code: function normalizeRedirectToProperty(redirectTo) {
      if (!angular.isDefined(redirectTo)) {
        return;
      }
  
      if (isInjectable(redirectTo) || angular.isFunction(redirectTo)) {
        return normalizeFunctionRedirectionRule(redirectTo);
      }
  
      if (angular.isObject(redirectTo)) {
        if (isObjectSingleRedirectionRule(redirectTo)) {
          return normalizeObjectSingleRedirectionRule(redirectTo);
        }
  
        return normalizeObjectMultipleRedirectionRule(redirectTo);
      }
  
      if (angular.isString(redirectTo)) {
        return normalizeStringRedirectionRule(redirectTo);
      }
  
      throw new ReferenceError('Property "redirectTo" must be String, Function, Array or Object');
    }
docs: Convert user provided input into key value dictionary with permission/role name as a key and injectable resolver
  function as a value
  @methodOf permission.PermissionMap
  @private
  
  @param redirectTo {String|Function|Array|Object} PermPermission map property "redirectTo"
  
  @returns {Object<String, Object>} Redirection dictionary object