I have a modal that uses ng-show = "prefs" to determine visibility.
My desire is to use the close button in modal to set the $ scope.prefs value to false and use the anchor tag to set the value to true. However, everything I can find on google uses a checkbox, not anchor tags.
Is there a way to use ng-click to set a variable to false?
angularjs
jgravois Apr 17 '14 at 18:17 2014-04-17 18:17
source share