Nested pages/dashboard route.

This commit is contained in:
smartapant 2016-04-21 20:34:07 +03:00
parent 62836727ae
commit 65b9d7e537
11 changed files with 296 additions and 66 deletions

View file

@ -1,3 +1,25 @@
/**
* Created by Andrey_Grabowsky on 20.04.16.
/*
* Angular 2 decorators and services
*/
import {Component, ViewEncapsulation} from 'angular2/core';
/*
* App Component
* Top Level Component
*/
@Component({
selector: 'dashboard',
pipes: [ ],
providers: [ ],
encapsulation: ViewEncapsulation.None,
styles: [require('./dashboard.scss') ],
template: 'DASHBOARD'
})
export class Dashboard {
constructor() {}
ngOnInit() {
console.log('DASHBOARD');
}
}