angularjs - ng-click not triggered while on the same DOM element as ng-show -


in case:

<div ng-show="isvisible" ng-click="do_something()">test</div>

when isvisible set true false, ngclick directive don't work.

i presume has angular dom compilation , binding.

what best practice make sure ngclick binded?

note: on angular 1.1.5.


Comments