Skip to content

Instantly share code, notes, and snippets.

@peterbsmyth
Created March 14, 2017 19:36
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 peterbsmyth/d631c12cda1bb1cadece2bfbc1576114 to your computer and use it in GitHub Desktop.
Save peterbsmyth/d631c12cda1bb1cadece2bfbc1576114 to your computer and use it in GitHub Desktop.
import { Component } from '@angular/core';
import { DripService } from './drip.service';
@Component({
selector: 'app-root',
template: `
<h1>
{{ (response | async)?.email }}
</h1>
`
})
export class AppComponent {
constructor(
private _service: DripService
){ }
response = this._service.submitSubscriber();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment