Skip to content

Instantly share code, notes, and snippets.

@tomastrajan
Created February 19, 2018 11:31
Angular Schematics - Business service template
import { Injectable } from '@angular/core';
import { <%= classify(name) %>ResourceService } from './<%= dasherize(name) %>-resource.service';
@Injectable()
export class <%= classify(name) %>Service {
constructor(private resource: <%= classify(name) %>ResourceService) { }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment