- Added more readme info #98
- Fixed issue with binding to the load event #100
- Fixed upload issue #96, no need to check $pristine
- Fixed issue with firefox #90
- Fixed issue with second re-submit
- Form now submits on [enter]
- modified the dsl to a simplier pattern
- Removed disabled and validated works in 1.2
- Same as 0.3.21 just bumped to stable branch all new modifications will occur on 0.5.x
- #75 Fix issue with
tags on response back, should also address #77
- #72 Add beforeSubmit callback
- Removed JQuery Dependency re: https://github.com/intelekshual
- Modified bower.json to allow for all future versions of angular and jquery
- Changed the way content of the upload iframe is obtained...
- cleaned up some unnecessary files to make distribution lean
- #56 added fixes for IE 9 and IE 10 from https://github.com/trov-codystebbins
- removed .DS_Store and corrected bower version
- #50 Add option to enable rails csrf, copy ng-model values to input values
- #43 Handle cases to support application/json and type/text and type/html.
- #34 changed the bind to occur after the iframe is added to the dom.
- #41 Prevent file from uploading if the submit element is disabled
- #35 fix(iframe - get content): Get html, not text
- #39 Bugfix: check url already have get params
- added conditional to click event preventDefault
- added preventDefault to click event
- Changed form detection to use .parents method instead of passing by scope
- Refactored API
Now there are two directives, ng-upload on your upload form and upload-submit on your clickable submit object. This new pattern is more angularjs like and you can declare these directives as attributes or classes.
see the examples
- Added test
- Modified callback function to use angularjs $parse
- Removed explict usage of $ as jQuery
- Bug fixes and enahncements (#12 and #13)
- Addition of an example to demonstrate using ngUpload to submit a full form, with a file input and other types of inputs, to the server.
- Example also demonstate how to consume a JSON returned by the server in Angular. (Checkout example 5 on the demo page(s) - ASP.Net MVC or NodeJS.
- ngUpload is now an AngularJS Directive, removing the need to deal with the form[@id] attribute.
- Addition of the uploadOptionsEnableControls option to prevent the default disabling of submission controls during upload, like so:
<form ng-upload='callbackFunction(contents, completed)' uploadOptionsEnableControls>
...
</form>
Submission controls are html elements marked with the upload-submit css class.
- Some bug fixes.
This source code of this example is given below: