current documented solutions will only work if users download jQuery. I in different situations, users will get this error: Failed: $ not defined
I suggest documenting the solution using a custom corner code.
eg. I would suggest instead of suggesting:
$('input[type="file"]') .....
to offer:
angular.element(document.querySelector('input[type="file"]')) .....
the latter is more standard, on top of angular and more importantly not require jquery
Giovanni Pellerano Jul 05 '15 at 0:03 2015-07-05 00:03
source share