Understand Composition and inheritance in Angular.
When we start to build the application and feel the code duplicated are in several places, our first idea is inheritance, because it solves our problem with repetitive code.
It appears as a solution (and it's) and works. But the problem comes when we...
danywalls4.hashnode.dev10 min read
Amos Isaila
angular, web
Don't you have to add the service in the providers of the component?