I am looking to showcase data in an HTML table retrieved from an Angular controller. I have the controller set up but I am unsure about how to display the data when a radio button is selected.
<div class="radio">
<label class="radio-inline"><input type="radio" name="top30Categories">TY Top 30 Categories</label>
<label class="radio-inline"><input type="radio" name="top10Brands">TY Top 10 Brands</label>
<label class="radio-inline"><input type="radio" name="top10Suppliers">TY Top 10 Suppliers</label>
</div>
The table is enclosed within a "div" tag where I invoke another controller with additional data. This data gets displayed automatically when the page is loaded
<div class="panel panel-default" ng-controller="HttpGetTestController">
My goal is to exhibit different data in that HTML table depending on the selected radio button.