Fixed IE8 + angular issue which causes a stack overflow. Fixes #2940
Merge pull request #2941 from rikkertkoppes/master

Fixed IE8 + angular issue which causes a stack overflow. Fixes #2940
Refactored last merge to fix HTML5 data-attributes handling.
Merge branch 'master' of https://github.com/blueimp/jQuery-File-Upload