I am sending a POST request to a back end REST API, via a login component. I get an x-auth token back in the response headers. How do I get and store this token so I can use
Using NgCookie module you may set like:
NgCookie
$cookies.put("token","your_response_val");
After that for further use.... $cookies.get ()
$cookies.get ()