The problem is this statement is giving me a infinite digest cycle. If I take the $ctrl.transformer function out the problem goes away, but I need that function to transform the input.
Please note that $ctrl.transformer is returning an Object like this:
Hello
I'm trying to use the
range
pipe with some controller variables like this:The problem is this statement is giving me a infinite digest cycle. If I take the
$ctrl.transformer
function out the problem goes away, but I need that function to transform the input.Please note that
$ctrl.transformer
is returning an Object like this:Is there something I don't see?
EDIT:
Fiddle to reproduce https://jsfiddle.net/9coywzgt/5/