我的ng-if不起作用。请帮忙
<div class="col-sm-12" ng-repeat="data in (result=(q.MyData | filter:q.Search))">
<input type="text" value="{{q.id}}" class="form-control" readonly />
<input type="text" ng-if="result.lenght==0" value="Data not found!" class="form-control" readonly />
</div>