Hello,

I am running 1.3.0-beta.3, just learning AngularJS, and having trouble 
combining an ng-if on my search box with a filter on the results. Here is 
the code:

<label ng-if="5 < logEntries.length">Search for: <input 
ng-model="searchtext"></label>
<any ng-repeat="entry in logEntries | filter:searchtext">...</any>

This works perfectly if I omit the ng-if. When I include the ng-if, the 
"Search for" appears when it should but typing text into the input field 
has no effect on the view. Ideas?

Thanks,
-- Art Z.

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to