use ng-switch to dynamically adjust the menu contents