Ng-repeat not updating when shared object does

0 votes
asked Mar 16, 2016 by vanscoter (1,100 points)
I am trying common pattern of returning object from service to controller then assigning that to scope object and then updating original object and having scope update too. What code do I need to go back to previous activity

4 Answers

+1 vote
answered May 22, 2016 by laraby (240 points)
0 votes
answered May 22, 2016 by hornleinRyl (860 points)
commented May 22, 2016 by mertel1573 (1,240 points)
You should instead use this because of the reason in this answer. It does a great job of explaining it and it will be kept up to date
+1 vote
answered May 30, 2016 by lbh_9028 (160 points)
See Understanding Scopes angular/angular.js Wiki GitHub for full details
Reference straight from the source code
0 votes
answered Jun 2, 2016 by Abq_Lawe (280 points)
They all work the same and are only there for convenience

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!