4 ms·
You're confused. A service locator doesn't have to instantiate anything. Angular's injector, like Guice's injector is a service locator. Because the normal way
by lern_too_spel 13y ago
You're confused. A service locator doesn't have to instantiate anything.
Angular's injector, like Guice's injector is a service locator. Because the normal way to use AngularJS is to simply list your dependencies instead of requesting what you want from an injector instance, it is an IOC DI framework.