SOLID: The Dependency Inversion Principle in Angular

added by JavaScript Kicks
8/30/2019 7:47:10 AM

615 Views

Get a better understanding of the DI principle and how it is implemented in Angular. A. HIGH-LEVEL MODULES SHOULD NOT DEPEND UPON LOW-LEVEL MODULES. BOTH SHOULD DEPEND UPON ABSTRACTIONS. B. ABSTRACTIONS SHOULD NOT DEPEND UPON DETAILS. DETAILS SHOULD DEPEND UPON ABSTRACTIONS. This principle states that classes and modules should depend on abstractions not on concretions.


0 comments