dist/js/mobile-angular-ui.core.js
function(idOrMap, value) {
          if (!idOrMap) {
            return;
          } else if (angular.isObject(idOrMap)) {
            this.setMany(idOrMap);
          } else {
            this.setOne(idOrMap, value);
          }
        }
function(idOrMap, value) {
          if (!idOrMap) {
            return;
          } else if (angular.isObject(idOrMap)) {
            this.setMany(idOrMap);
          } else {
            this.setOne(idOrMap, value);
          }
        }
@function set
@memberOf mobile-angular-ui.core.sharedState~SharedState
@description

A shorthand for both `setOne` and `setMany`.
When called with only one parameter that is an object
it is the same of `setMany`, otherwise is the
same of `setOne`.

@param {string|object} idOrMap A state id or a `{state: value}` map object.
@param {any} [value] The value to assign in case idOrMap is a string.