File uploader directives for angular.js