KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I've been looking into trying to write filters but its been quite frustrating. Here are a couple of resources I was following for writing a 'chunk' filter https://groups.google.com/forum/#!topic/angular/IEIQok-YkpU https://groups.google.com/forum/#!topic/angular/gEv1-YV-Ojg I tried it out with some success. but found that there is difference in behaviour between versions The methods described to produce a $$hashKey does not work in the 1.1.5 version. The first fiddle is fine, whilst the second produces in iteration error, even though the code is exactly the same: http://jsfiddle.net/nRGTX/38/ - 1.0.3 version http://jsfiddle.net/nRGTX/39/ - 1.1.5 version Error: 10 $digest() iterations reached. Aborting! Watchers fired in the last 5 iterations: [["fn: $watchCollectionWatch; newVal: 16; oldVal: 14"],["fn: $watchCollectionWatch; newVal: 18; oldVal: 16"],["fn: $watchCollectionWatch; newVal: 20; oldVal: 18"],["fn: $watchCollectionWatch; newVal: 22; oldVal: 20"],["fn: $watchCollectionWatch; newVal: 24; oldVal: 22"]] Are there any workarounds/proper way to write this?
Tags (comma-separated)
Save Edits
Cancel