0
<input ng-model="query" />
 <flex-slider class="carousel" slide="s in slides | filter:query">

...

When I'm typing some text into input console returns this error

Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting! Watchers fired in the last 5 iterations: ...

help please!

1 Answer 1

0

The directive does not support filtering in this manner.

A work around is to setup a $watch on the query property. When it changes, update the slides array appropriately.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.