The docs state: "Register a constant service, such as a string, a number, 
an array, an object or a function..."

They do not cover why it works as an object in a .config() method but not a 
.factory() method, unless I don't understand something about the 2 liens 
that are written there? Please elaborate for me.

On Thursday, April 3, 2014 3:53:18 PM UTC-5, Michael Bielski wrote:
>
> The docs actually cover that: 
> http://docs.angularjs.org/api/auto/object/$provide#constant
>

-- 
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 http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to