The problem. I have a table of entries($scope.entries
), each row(ng-repeat) with 5 columns, 2 of those columns have custom made filter for various transformations.
Now in the same scope I have active_entry($scope.active_entry
), which is changing every seconds, because of it and how angular works(I guess), the whole scope is being constantly checked and my filters executed.
This causes Watch Expressions in Batarang to go sky high over the time.
How can I use create some sort of isolated scope for the active_entry so my filters are not rended over and over again every second?
Is making a directive the only way to create an isolated scope? Would it work? What if I needed values from the isolated scope later on in the controller?