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

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 228595

Trending Articles