The following AngularJS application is working with ng-repeat and an applied filter. A certain applied filter leaves no values left. How can I display a notification?
You can use ng-switch to do this.
For example:
` Search: 'Found '{{(friends | filter:searchText).length}} friends No friends Name Phone {{friend.name}} {{friend.phone}} ` 0 讨论(0) 查看其它7个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复