http://javacourseblog.blogspot.in/2014/06/angularjs-apply-digest-in-detail-with.html

use $timeout(function(){
>             $scope.foo = 'bar';
>
>  })
>


On Wednesday, 5 March 2014 23:18:07 UTC+5:30, Ben George wrote:
>
> I have an image, which you can click on to open a file input.  When I 
> added a typeahead on the same page, the opening of the file input stopped 
> working and the following error on the console:
>
> Error: [$rootScope:inprog] $apply already in progress 
>
> Here is the code to reproduce: http://plnkr.co/edit/zc4BNm?p=preview
>
> So what am I doing wrong ?  It feels to me a library is not behaving as it 
> should.  In the code you can even try commenting out the jQuery selector of 
> the image and use getElementById.  Still fails.
>

-- 
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.

Reply via email to