code: 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);
        });
      }
    }
docs: adds provided annotations to obj
  @private
  @param obj
  @param override