2

So I have same methods being used in each of my components, this, of course is not good practice. Is it possible to create a new class with these methods and just call them in each of my components? Is there an angular2 approach?

Please advice.

Thanks

DingDong
  • 367
  • 3
  • 12
  • 22

0 Answers0