Hello, I have a page with a <input type="file" button. I want te user to be able to choose a file but aftr a file is chosen the binary contents of the file should be assigned to a $scope key. I use directive and the HTML5 FileReader class. I am able to read te binary file in te directiove but don't succeed in assigning theat data to a key in the parent's scope. This is what I have:
view.html: -- 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.
