1.Make service.
2.Add data in the service.
3.Make footer component.
4.Use service in app component
5.Use service in the footer component.
1. Make a Service
Syntax: ng g service services/userdata
2. Add data in the service 3.Make footer component.
Syntax: ng g c footer
1 Comments
Gd
ReplyDelete