Hi,

The code is actually a small part of a contrib-ui that I am trying to learn 
that has been written by someone else.

In it he uses:  ng-options="o for o in ['Auto', 'On', 'Off']"

I know the 'Auto', 'On', 'Off' are names to be used in a pull down menu, 
but not sure what   o for o    does ?

Also is there any reason to use   o   or could it be any letter or name ?


Regards


Gaz


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

Reply via email to