Solved
Changing the number in label widget everytime the button is clicked
I want to increase the number by 1 inside the label every time a button is clicked. Any help would be appreciated.
I want to increase the number by 1 inside the label every time a button is clicked. Any help would be appreciated.
Actually, I found the answer...
var x = 0;
$scope. click = function(){
x = x +1
$scope.setWidgetProp( "label-1", "text", x); };
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.