I have two ng clicks in my menu:
Toggles an off-canvas navigation, Toggle:
Togler works fine, but when I click on another it does not work anymore .
Toggler:
& lt; Div class = "line menu-bar sticky" & gt; & Lt; Div ng-include = "'shared / nav.html'" class = "nav-bar" & gt; & Lt; / Div & gt; // offcanvas & lt; Div ng-click = "offcanvas =! Offcanvas" class = "buttonhumber button" & gt; Menu & lt; / Div & gt; & Lt; / Div & gt;
Close:
& lt; Div class = "offcanvas-container" ng-square = "{'offcanvas-container -in': offcanvas}" & gt; & Lt; Div class = "close-offcanvas" ng-click = "off scan = opened" & gt; X & lt; / Div & gt; & Lt; Div class = "menu" & gt; & Lt; Ul ng-controller = "PagesCtrl" & gt; '...' & lt; / Ul & gt; & Lt; / Div & gt; & Lt; / Div & gt;
What could be the cause of this problem?
Comments
Post a Comment