Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 229510

Need Help with services or global variables

$
0
0

great...is there a way I could set the value of the variable using an ng-click...so everytime the user clicks button 1 variable value changes to button1 and then I use that as a reference to find specific object in an array called things. so i would then in my view I could just use things.(variable).name or things.(variable).price and so on... Thanks for the help :smile:


Viewing all articles
Browse latest Browse all 229510

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>