Andre Tran

1

votes
1

answer
903

views

Ng-show is not dynamically adding element

I have a variable called won in my controller that toggles on and off but the ng-show is not dynamically hiding/showing the elements. Why? It seems to work when I initially set won = false/true but not while the application is running. var memoryApp = angular.module('memoryApp', []); memoryApp.contr...
Andre Tran