I\'m a fish in AngularJS and I have this scenario.
submit
This is by far the cleanest solution I found, all credits go to @Offereins https://stackoverflow.com/a/23456905/3819736
This method doesn't require any additional controller JS or other jQuery tweaks.