**** Custom Services ****
- The Services Developed by us based on application requirement
called as Custom Service.
- Custom Services can share the business logic to multiple components.
- "Injectable" is the predefined class used to create the Custom Service.
- "Injectable" class available in "@angular/core" package.
- providing the communication between services to components called
as Dependency Injection.
Ex_1:
*****************************************
custSerEx1
src
app
services
my.service.ts
components
my.component.ts
my.component.html
app.module.ts
index.html
******************************************
- The Services Developed by us based on application requirement
called as Custom Service.
- Custom Services can share the business logic to multiple components.
- "Injectable" is the predefined class used to create the Custom Service.
- "Injectable" class available in "@angular/core" package.
- providing the communication between services to components called
as Dependency Injection.
Ex_1:
*****************************************
custSerEx1
src
app
services
my.service.ts
components
my.component.ts
my.component.html
app.module.ts
index.html
******************************************
No comments:
Post a Comment