I have created a new REST call, which accepts the username and password and does verify the username and password.
On top of this REST call, I'm building the UI with angular js. REST call will send JSON as when its success:
{ success : { username : 'batman' } }
Now I want angular js to redirect to the home page. How should I do that?
Is REST calls for login is a good design choice?
Thanks in advance.