Skip to content

Instantly share code, notes, and snippets.

@mattmcgiv
Created August 7, 2018 17:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattmcgiv/68308a3ca8da82c0baa2eb79c2ad5742 to your computer and use it in GitHub Desktop.
Save mattmcgiv/68308a3ca8da82c0baa2eb79c2ad5742 to your computer and use it in GitHub Desktop.
import { Component } from '@angular/core';
@Component({
selector: 'app-example',
templateUrl: './example.component.html',
styleUrls: [ './example.component.css' ],
providers: [ MaybeSomeProvider, MaybeAnotherProvider ]
})
export class ExampleComponent {
property: string;
constructor(private MaybeSomeProvider, private MaybeAnotherProvider) {}
someFunction() {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment