It has nothing to do with Angular really, it's plain JavaScript.

obj.foo is the same as obj["foo"]


Den måndagen den 7:e januari 2013 kl. 21:49:15 UTC+1 skrev 
[email protected]:
>
> I've noticed you can do $cookies['string key'] and it returns a string of 
> the value for that key :D 
>
> Not sure why the heck that's not in the documentation... seemed like a 
> basic feature to have.
>

-- 
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