// in terminal // add Service to (new) Service dir ng g s Services/<serviceName>
content_copy1 import { Hero } from './hero'; import { HEROES } from './mock-heroes';
ng generate service my-service -m app.module