This afternoon I’ve been playing a little with AngularJS, and finally I’ve fully understood how the service $parse works.

I was trying to create a directive that makes use of HTML5’s file reading API. I dind’t want to create a new element because the input type="file" element is okay. So I’ve created an onReadFile attribute which gets a function as a parameter. This function performs some logic with the file content. In this example I will only show that content on screen.
AngularJS HTML5 file API Leer el resto de esta entrada »

Anuncios