MyCtrl.js has (truncated version):
etc.
{
id: 2,
bodyType:"Short Course",
category:"Qualifier Series"
},
{
id: 3,
bodyType:"Short Course",
category:"SC10 4x4"
},
{
id: 4,
bodyType:"Buggy",
category:"RC10B5M"
},
etc.
I can display one item by giving the id:
<button class="buttonClass" ng-click="show='4'">B5M</button>
How do I display an item by "bodyType" to list more than one item having a
matching value?
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.