With all due respect, I’m not a big fan of this way. Angular change detection gets called very frequently. As long as it’s dealing with scalar properties, it can know when things have changed. Any time you introduce a function, all that goes out the window.
So, bottom line: do everything you can to eliminate function calls in template expressions. Offload all of that logic into the controller and make it so that all the template has to do is reference properties. That way you are in control of change detection and performance will improve.