One of the challenges I'm facing is with the scope in my controller. Here's what it looks like:
$scope.carprice.active = true
In my view, there are two radio buttons that have the following code:
ng-click="carprice.active=true"
ng-click="carprice.active=false"
I need to figure out how to modify the value of the scope properly. Currently, even after selecting the false option, it still saves as true in the database.
I've also attempted using the click as a model, but that didn't solve the issue either.
Any suggestions would be greatly appreciated. Thanks, Sam