SHARE
TWEET
Untitled
a guest
Jan 4th, 2016
44
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- export class AppComponent implements OnInit {
- public title = 'FOSSA Provisioning';
- public scann: ScanNetwork;
- constructor(private _scanService: ScanNetworkService) { }
- getOneScan() {
- console.log('Get service');
- this._scanService.getOneScan().then(val => this.scann = val); //.then(scan => this.scann = scan);
- }
- ngOnInit() {
- console.log("onInit");
- this.getOneScan();
- }
- }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.
