I wanted to get one result from an array in ng-bind using filter. I want to do as below
<h1 ng-bind="item.Description as item in Items | filter: {id: someID}"></h1>
I want to set h1 to item.Description from Items where someID comes from a drop down. That means, when I select from drop down, h1 is set by filtering Items by SomeID. It's like h1 = Items.FirstOrDefault(x => x.id == someID).Description