Hi, Sander, Thanks for your comment. Event triggered from angular factory selectedObjectFactory. I got this idea after reading this article:http://tutorials.jenkov.com/angularjs/watch-digest-apply.html.
I have put a litle bit more code in plunker (http://plnkr.co/edit/ELaOfd6yjGHsmvrjFeXJ?p=preview) including HTML. Please see, I would be pleased to get more comments or remarks from you. Best regards, Andriy Субота, 13 вересня 2014 р. 18:13:53 UTC+3 користувач Sander Elias написав: > > Hi Andriy, > > Hmm, are you triggerering the event from outside angular? Otherwise the > $digest should not be needed. > if you are triggering from the outside, you should use $scope.$apply where > the call is originating. > > Hmm, not sure this makes sense to you, > > 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.
