top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is injector in AngularJS?

+2 votes
358 views
What is injector in AngularJS?
posted Jan 12, 2017 by Arun Angadi

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

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.

answer Jan 12, 2017 by Manikandan J
...