Since we were good little Angular developers and broke this out into a separate module we could promote simple functions into services so that we could expose them for testing.