Lots of directives trigger the creation of a new child scope.
On Thu, Jul 24, 2014 at 3:55 PM, Tobiah <[email protected]> wrote: > I just have one controller and a brief HTML page. > I attached a select to a variable using ng-model. > It wasn't updating in the controller, and I read > about always putting a '.' in the name so that > an object would be used and the reference would > be the same for other scopes. > > I did this, and the model started updating correctly. > I'm just wondering how another $scope could be created > when there is only one controller declaration. I'm > pretty new to angular. > > Thanks! > > Tobiah > > -- > 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. > -- chrisrhoden -- 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.
