Quantcast
Viewing all articles
Browse latest Browse all 229906

Changing the view based on radio button selection

Hi I'm fairly new with Ionic and AngularJS.
I have created a page to select different options and display them on the next page, however I am stuck with how to make the two separate pages. I have two options:

<ion-radio ng-model="choice" ng-value="indoor">Indoor</ion-radio>
<ion-radio ng-model="choice" ng-value="outdoor">Outdoor</ion-radio>

So if the indoor value was chosen 3 drop-downs would appear on the page and if outdoor was selected 6 would appear.

Thanks


Viewing all articles
Browse latest Browse all 229906

Trending Articles