An array of UserType can be passed in AngularTokenOptions at the root module with.forRoot(). The user type is selected during sign in and persists until sign out. .currentUserType() returns the currently logged in user.
<a routerLink="link1">Public link 1</a>
<a routerLink="link2">Public link 2</a>
<a *ifInRole="'user'" routerLink="private/link1">Private link 1</a>
<a *ifInRole="'admin'" routerLink="private/link2">Private link 2</a>