/service.ts Secret
Created
February 19, 2018 11:31
Angular Schematics - Business service template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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