how can i refresh the label? For example i would like my web service to run every 5 seconds and then automatically change the label with one of the values.
user error
i had a ";" after my function.
updated
ng-click = save_user_settings();
to
ng-click = save_user_settings()
and it worked.
didn't realize you can hit cntrl-space bar to have the ng-click automatically populated from the list.
I don't see any errors. It works fine when i paste the above code into the init function. it doesn't appear that the function is firing
why does this work from an init function but not on a click
var jd_phone = "63171234"
localStorage.setItem("customer_phone", jd_phone);
i'm using a button with
ng-click = save_user_settings();
How do you save a variable to local storage? can i use a data mapping?
Hi Sergiy,
Thanks for your response! Why doesn't this work?
This is very frustrating. Works ins jsfiddle and not appery.io. Any help would be greatly appreciated.
Please help!