Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
I want to increase the number by 1 inside the label every time a button is clicked. Any help would be appreciated.
Solved! Go to Solution.
Actually, I found the answer...
var x = 0;
$scope. click = function(){
x = x +1
$scope.setWidgetProp( "label-1", "text", x); };
Actually, I found the answer...
var x = 0;
$scope. click = function(){
x = x +1
$scope.setWidgetProp( "label-1", "text", x); };