How to use Dependency Injection?

A dependency Injection (DI) is an object that can be used (a services, directives, filters, constant, value and animations etc.).

The all above components like
·         Services,
·         Directives,
·         Filters,
·         Constant,
·         Value

All are injected by a factory method or a constructor.


The above components (services, directives etc.) can be injects with services and value components as dependencies.

About Blogger

ANIL SINGH

Hey! I am Anil Singh. I am Active Blogger, Writer and Programmer. I love learning new technologies, programming, blogging and participating the forum discussions more...
http://www.code-sample.com
http://www.code-sample.xyz

    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment

SQL Server NodeJs TypeScript JavaScript Angular SQL Server My Book