Aug 29, 2017 · 1 min read
Great recap! You really have an insight into Angular.
As you mentioned “having (a) Utilities Service”, I found that I just made the utilities a plain JS file, like
export const utils = {
a(){ }
b(){}
// …
}
Use it like:
utils.a()
So, my question is what’s the difference between these two ways? Which one is better and why.
