feature(angular2spa): Angular 2.0, Universal 2.0, TS 2.0

This commit is contained in:
Mark Pieszak
2016-09-17 17:58:01 -04:00
parent bbc95e0ce2
commit 4b356f356b
18 changed files with 273 additions and 1166 deletions

View File

@@ -1,10 +1,8 @@
import * as ng from '@angular/core';
import { ROUTER_DIRECTIVES } from '@angular/router';
import { Component } from '@angular/core';
@ng.Component({
@Component({
selector: 'nav-menu',
template: require('./nav-menu.html'),
directives: [...ROUTER_DIRECTIVES]
template: require('./nav-menu.html')
})
export class NavMenu {
}