I have a menu with two items. one of the menu item visibility is determined by a scope variable “isCurrent”….when the initial value of the scope variable is false…the menu still displays…however when the variables value is changed through a button click the menu item hides and displays correctly. below is the fiddle
This doesn’t work…Set the initial value of $scope.isCurrent = false; in the controller. the menu item is displayed in the output….it should be based on the initial value of the scope variable.