The goal is to have a new angularJS hasRole function that get a string as parameter and returns a boolean. That's why I created a Map<String, Boolean>

On the angular side, you can call hasRole as follows:
   <ng-show="hasRole('ROLE_ADMIN')>