why is this code working in an init function but not click?
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();