Files
ionic-framework/tooling/generators/provider/provider.tmpl.ts

18 lines
386 B
TypeScript

import { Injectable } from '@angular/core';
import { Http } from '@angular/http';
import 'rxjs/add/operator/map';
/*
Generated class for the <%= jsClassName %> provider.
See https://angular.io/docs/ts/latest/guide/dependency-injection.html
for more info on providers and Angular 2 DI.
*/
@Injectable()
export class <%= jsClassName %> {
constructor(private http: Http) {}
}