the question has arisen because my login is something different because when validating a user in the WS, this has to return data in JSON, because with that data I consult another WS to receive new data and display them in the view
I am trying with NG-cookies, that is, if the authentication happens, I save the data in a cookie:
cookieStore.put('nombreCookie',response);
When the page is refreshed, the data will not be lost because the data is stored in a variable called at the beginning of the session.
logindata
which is the one I use to make the requests but since it is only loaded when the session is started they are not saved and it causes that to refresh the page no more data ...
I want to know how I can send as a parameter the data stored in the cookie ...
Greetings.