angularjs - Hiding ng-repeat expression & filter logic in html? -


i have simple ng-repeat filter on below. in html see logic in html. there way hide this?

<div ng-repeat="row in rowdata.players| filter:{name:"dan"})"> {{row.name}} </div> 

when @ page though repeated divs have above logic expression in them. there directive or best practice hide this?

<div ng-repeat="row in rowdata.players| filter:{name:'dan'})"> {{row.name}} </div>

try using single quotes instead of double quotes.


Comments