I am not sure if I have destroyed the $scope. How should I change it to make it work.
On Thursday, April 14, 2016 at 1:56:57 PM UTC-5, Sander Elias wrote: > > Hi Kris, > > Well, I assume you do the adding in a part of your app that you get rid of > when you are done adding. When you destroy a $scope, (remove the stuff from > the view) you probably killing the promise before the a sync answer is > back. Hence the then will never get executed because it;s not there anmore. > > 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 https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
