Hi Michael,
I din’t read trough all your code. Probably you have a scoping issue. With
that, I mean that the view uses a different scope then the update function.
You can check that by doing a console.log($scope.$id) and an {{$id}} in the
view where the problem is. My bet, you will get 2 different id’s.
The best thing you can do to solve this problem for once an all is switch
to the controllerAs way of working. For details on that read trough the
styleguide <https://github.com/johnpapa/angular-styleguide>.
I hope this helps you a bit,
Regards
Sander
--
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.