AngularJS, Front End Development

Dependency Annotation in AngularJS

When a function of service or controller invoked via the injector then we have to annotate these functions so that the injector knows what service to inject into the function. In Angular, there are three ways of annotating code with service name - Inline Array Annotation $inject Property Annotation Implicit Annotation ...

by Dhanendra Kumar
Tag: anotation