It looks bad on the Java side, but great on the JavaScript side :-)
i'd rather send an array of the user's roles, but I can't find a way to have a nice expression in ng-show like you have...