Apparently, Angular 2 will use pipes instead of filters as in Angular1 in conjunction with ng-for to filter results, although the implementation still seems to be vague, wit
You could also use the following:
This will only show the div if your items matches the condition
See the angular documentation for more information If you would also need the index, use the following: