text: /*! angular-form-data.js 2015-01-24 */
  !function(){var a=angular.module("angularFormData",[]);a.service("$formData",[function(){function a(a){function b(a,b){var c;return d=angular.copy(a),d.push(b),c=d.shift(),d.length&&(c+="["+d.join("][")+"]"),c}function c(a,d){d="undefined"!=typeof d?d:[],angular.forEach(a,function(a,f){if(a instanceof FileList){var g=b(d,f);1===a.length?e.append(g,a[0]):angular.forEach(a,function(a,b){e.append(g+"["+b+"]",a)})}else if(a&&"object"==typeof a){var h=angular.copy(d);h.push(f),c(a,h)}else g=b(d,f),e.append(g,a)})}var d,e=new FormData;return c(a),e}this.prepare=function(b,c){return void 0!==b?(c()["Content-Type"]=void 0,a(b)):void 0}}]),a.directive("formDataFilesModel",[function(){return{controller:function(a,b,c,d){var e=a(c.formDataFilesModel);b.on("change",function(){var b;e.assign(d,this.files),c.formDataForm&&(b=a(c.formDataForm),b.$dirty=!0,b.assign(d,b)),d.$apply()})}}}])}();