I have tried without .bind(this) when problem occurred
fileReader.addEventListener("load", this.findDuplicates);
After adding .bind(this) to my event function(findDuplicates) , array
inside my function findDuplicates getting updated and view too get updated
by one way binding.
fileReader.addEventListener("load", this.findDuplicates.bind(this));
On Tuesday, August 25, 2015 at 4:25:29 PM UTC+5:30, Senthil Kumaran
Chinnathambi wrote:
>
> View is not updated after updating an array inside FileReader onload
> function. How to force view to update?
>
--
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.