Removed $rootScope from menu directive