Where should I put global functions?

I have few functions which are used in separate controllers. Is is possible somehow bring them to global scope or at least put in some sort of helper files ? What is the best way of doing it?

1 Like

Make a “util” service and add it to the app’s providers, just like the error service is by default (if memory serves, posting from phone).

Then just inject that service everywhere you need it