refactored usage of type and prefix from navigatorService and simplified menuCtrl