18 lines
468 B
TypeScript
18 lines
468 B
TypeScript
import {Component} from '@angular/core';
|
|
import { ROUTER_DIRECTIVES, Router} from '@angular/router';
|
|
import {JSONP_PROVIDERS} from '@angular/http';
|
|
import {Observable} from 'rxjs/Observable';
|
|
import {Location} from '@angular/common';
|
|
|
|
@Component({
|
|
selector: 'home',
|
|
templateUrl: 'home.component.html',
|
|
directives: [ ...ROUTER_DIRECTIVES ],
|
|
})
|
|
|
|
export class HomeComponent {
|
|
constructor ( private _router: Router, private location: Location) {}
|
|
|
|
|
|
}
|