1

This is driving me crazy.

I have a log filter.

angular.module('myApp').filter('log', [function() {
  return function(content) {
    console.log(content);
    return content;
  };
}]);

In my controller:

$scope.myValue = 'Test';

And in my view:

{{::myValue | log}}

And every time the $digest cycle is called, myValue gets loggued 2 times, which shouldn't because of one-way-data-binding.

It has been 3 hours I stuck on this. I have been trying to reproduce in a plunker, without success. :(

1 Answer 1

2

Thanks to this SO answer, I found the culprit after few hours.

It was Angular Batarang, now removed from my Chrome forever.

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

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.