标签: javascript angularjs filter
我有一个搜索框来过滤结果集。有哪些方法可以将过滤结果重置为原始结果?
<input type="text" id="MValues" ng-model="MSearch.name">
<div ng-repeat="section in sections | filter: Msearch as MSearchresults " > <label>{{ section.name }}</label> </div>