You can simply think of `vm` as a variable that allows you to reference the controller (not the `$scope`) from a view. This is generally a bad design pattern though. If you're using controller-as syntax, then you might want to get more thought to the structure of your application.
On Thu, Jan 23, 2014 at 7:19 AM, Uk Jo <[email protected]> wrote: > hello. i have to use this combo in my application.. what is vm? i can not > understand. > > -- > 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/groups/opt_out. > -- 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/groups/opt_out.
