in Angular by
Q:
What is Dependency Injection in Angular?

1 Answer

0 votes
by

Dependency Injection (DI) is a software design pattern where the objects are passed as dependencies rather than hard-coding them within the component. The concept of Dependency Injection comes in handy when you are trying to separate the logic of object creation to that of its consumption. The ‘config’ operation makes use of DI that must be configured beforehand while the module gets loaded to retrieve the elements of the application. With this feature, a user can change dependencies as per his requirements.

Click here to read more about Angular JS
Click here to read more about Insurance

Related questions

+1 vote
asked Jun 2, 2020 in JAVA by Indian
0 votes
asked Jan 27, 2020 in JAVA by rahuljain1
...