AngularJS -
Injectors. ... Here, the invoke method called on the angular.
injector() is a literal demonstration of what is happening behind the scenes with things like the game parameter to the controller. The
injector is able to seek out what 'game' is being injected as, here a factory.
read more >>