My backend is in php laravel 5.4, i want to use my session variables in my angular/ionic project the same way i use it in my blade files i.e by using $_SESSION['variable_name']
I have not found a way till now, the only way i have got till now is by calling an api and using this:
localStorage.setItem('sessionToken', response.sessionToken);