Angular: Best Practices
Armen Vardanyan
36513

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.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.