As the only one @Michael_Hladky told me to 'never bind a function in a template' here is a repo to demonstrate the issue
See it in action on firebaseapp
Be sure to open the debug console in your browser
when you are binding a function in a template you may not be aware of how often the binding is executed.
this project tries to clarify the problem and show some solutions