I started to look into Angular JS and find this framework great so far.
I have a question about form submission best practices though.
I have an update data form which has ng-controller
and ng-submit
directives, it loads data from the server using get
on load and posts
data on submit.
My question is when a user clicks submit button how do I indicate that something is actually happening? E.g. display activity indicator while the action is being processed and some kind of success or failure message after it was processed.
I used jQuery to do this for ajax forms before, do I still use jQuery or there are other tools for that in Angular JS I don't know about?
Thanks