How to filter items with equal menu.name and menuFilter values based on the input menuFilter value in angular1
<input type="text" ng-model="menuFilter"
placeholder="搜索"/>
<p ng-repeat="menu in menuList |filter:menuFilter track by $index">
<span>{{menu.name}}</span>
<span>{{menu.id}}</span>
</p>