Injector was modifying $inject property.