call node api from angular code example
Example 1: where to create service angularor nodejs
content_copy
ng generate service hero
(or)
ng g s hero
Example 2: where to create service angularor nodejs
content_copy
ng generate service hero