Hi Khokhar,

You are handing over a kind of identification to the bootstrapModule, that 
then uses the injector to instantiate your class.  To put it in a different 
way, you are handing over a pointer to your class by reference, and the 
system knows how to handle it.
There are some good articles out on the net that explain into detail how 
Angular dependency injection works.

With kind regards
Sander


-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to