lib/di.js
function resolveInjects(obj, override){
    var injects = obj.$inject || override;

    if (exists(injects)) {
      if (!Array.isArray(injects)) {
        injects = [injects];
      }
      injects.forEach(function addInjects(element) {
        addInject(obj, element);
      });
    }
  }
function resolveInjects(obj, override){
    var injects = obj.$inject || override;

    if (exists(injects)) {
      if (!Array.isArray(injects)) {
        injects = [injects];
      }
      injects.forEach(function addInjects(element) {
        addInject(obj, element);
      });
    }
  }
function resolveInjects ( obj , override ) { var injects = obj . $inject || override ; if ( exists ( injects ) ) { if ( ! Array . isArray ( injects ) ) { injects = [ injects ] ; } injects . forEach ( function addInjects ( element ) { addInject ( obj , element ) ; } ) ; } }
adds provided annotations to obj
@private
@param obj
@param override
adds provided annotations to obj