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
↧