Change 'ng-if' by 'ng-show'.
And angular timeout in order to force digest cycle to force class apply.
*Add validation over history controller in order to avoid show 'history' for non 'gre' users.

If the user change the group from history page, they can be able to see the history inside Grockit 2.0 even for no GRE groups.