I am creating a web app in Angular.js. I have to show different menu items for different users(Non-Logged Users, Non-Admin Logged In Users, Admin Users). What my initial approach was that I will send API request along with JWT token. And based on that I can extract user id (if present) and then if user is type admin or not. But issue arises how to load controllers ,partials and css for that menu items? I am scratching my head ,but no success.
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1Pp6rYy
via IFTTT
Aucun commentaire:
Enregistrer un commentaire