angular-server-form
angular-server-form copied to clipboard
Form URL instead of ACTION
Hi there,
why you use the custom "url" attribute of the form instead of the standard "action"?
Using the "action" attribute would allow this great directive to be used on Rails's form_for helper without the need to add "url" attribute manually.
What do you think?
Ah, that makes a lot of sense. I probably just hadn't thought about it or angular might've had some problem with it, I'm not sure. It looks like angular docs are down right now so I can't confirm.
For backwards compat I'd like to keep url, but I'd be open to adding support for action, it can check both.
Sorry for the slow response. I'm a bit busy at the moment, but I'd totally be open to a PR; otherwise it might take me a while to get around to it.