manikawnth
manikawnth

Reputation: 3249

Angular One time binding still has watchers on it

I used a simple AngularJS interpolation with one-time binding. The code works as expected and any further changes to that scope variable are not reflecting. However, when I was checking the performance of my application using Batarang (Chrome extension), I observed that there are still watchers left on that interpolation

I'm not sure if I really achieved any performance gain using one-time binding.

Upvotes: 0

Views: 195

Answers (1)

sl3dg3
sl3dg3

Reputation: 5190

I came across several hints in the web, stating that Batarang would not work with one time bindings. Therefore I deinstalled Batarang and used angular watchers instead (for angular 1.3.x), worked like a charm.

Upvotes: 0

Related Questions