Ok so here is my code of the controller:
$scope.isopen = false;
Here is my template file (its in Jade)
div(ng-click="isopen = !isopen") {{ isopen }}
div.dropdown(is-open="isopen")
div.dropdown-toggle Click me
ul.dropdown-menu
li Asdf
So when I click on the div that initially says false, the drop down menu is just unaffected. Why? This is very frustrating.
The drop down menu works fine when I click on "Click me" itself, but I want to toggle it by using is-open.
Thanks in advance.