I am new in AngularJS. I am learning AngularJS. In this regard I found
below syntax in a tutorial.
app.config(['$routeProvider',function($routeProvider){}]);
Here .config() is a method. I am passing an array as parameter of this
.config() method.*'$routeProvider'* and a *anonymous function* are two
elements of that array. Am I right ??
Can I make any change of the first element of the array, like
*'$routeProvid'* or *'$routeProvideraa'* or*'$outeProvider'*??
Can I make any change of the second element of the array, like
*function($routeProv)* or*function($routeProviraa)* or
*function($outeProvi)*??
Thanks
--
You received this message because you are subscribed to the Google Groups
"AngularJS" 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.