added the ability to inject angular 1 services