Yeah. I think if the helper function resides in the same file, it should be ok, right? What @stuartnelson3 means here is that usually the Angular way is to explicitly package things into Angular services and so on, so that dependencies are explicitly tracked between Angular code pieces. But I also think it becomes a bit overkill for small helper functions like these which are only used in the same file.