twilson63/ngUpload — pull request #94 by nathankot (2014-01-02 03:49:24+00:00)
Title: Fix optionsBeforeSubmit + optionConvertHidden for non `type="submit"` actions.

This should address #89, and possibly #93

I was running into a problem where ngBeforeSubmit wasn't being called at all.
Dug a bit deeper and found that the `submit` event wasn't being fired on
`form` when using `form[0].submit()`. This seems to confirm it:
http://stackoverflow.com/a/18774921/1740868

Probably what was happening, is that the options worked for those using
`` and failed for people using the `

` or `` submit
buttons.

Also updated the readme to show the correct directive for the beforeSubmit option.