diff --git a/app/application.ts b/app/application.ts index 31480fa..275b742 100644 --- a/app/application.ts +++ b/app/application.ts @@ -1,5 +1,5 @@ -import {bootstrap} from 'angular2/platform/browser'; -import {Component} from 'angular2/core'; +import {bootstrap} from '@angular/platform-browser-dynamic'; +import {Component} from '@angular/core'; import {UserService} from './services/user.service'; import {KlassService} from './services/klass.service'; import {FooterComponent} from './components/footer.component'; @@ -14,7 +14,6 @@ import {KlassComponent} from './components/klass.component'; `, directives: [ContentComponent, FooterComponent] }) - export class AppComponent{} bootstrap(AppComponent, [UserService, KlassService]) diff --git a/app/components/content.component.ts b/app/components/content.component.ts index 2bcf78c..ea266d4 100644 --- a/app/components/content.component.ts +++ b/app/components/content.component.ts @@ -1,4 +1,4 @@ -import {Component} from 'angular2/core'; +import {Component} from '@angular/core'; import {HeaderComponent} from './header.component'; import {LoginComponent} from './login.component'; import {KlassesComponent} from './klasses.component'; diff --git a/app/components/footer.component.ts b/app/components/footer.component.ts index 790d490..c7b2f3d 100644 --- a/app/components/footer.component.ts +++ b/app/components/footer.component.ts @@ -1,4 +1,4 @@ -import {Component} from 'angular2/core'; +import {Component} from '@angular/core'; @Component({ selector: 'footer', diff --git a/app/components/header.component.ts b/app/components/header.component.ts index c9af0e4..95108fa 100644 --- a/app/components/header.component.ts +++ b/app/components/header.component.ts @@ -1,4 +1,4 @@ -import {Component, Input, Output, EventEmitter} from 'angular2/core'; +import {Component, Input, Output, EventEmitter} from '@angular/core'; import {UserService} from '../services/user.service'; import {User} from '../models/user'; diff --git a/app/components/klass.component.ts b/app/components/klass.component.ts index d2b6a86..b19c1b0 100644 --- a/app/components/klass.component.ts +++ b/app/components/klass.component.ts @@ -1,4 +1,4 @@ -import {Component, Input, Output, EventEmitter} from 'angular2/core'; +import {Component, Input, Output, EventEmitter} from '@angular/core'; import {KlassService} from '../services/klass.service'; import {Klass} from '../models/klass'; diff --git a/app/components/klasses.component.ts b/app/components/klasses.component.ts index 9ae6178..3408473 100644 --- a/app/components/klasses.component.ts +++ b/app/components/klasses.component.ts @@ -1,11 +1,11 @@ -import {Component, Output, EventEmitter} from 'angular2/core'; +import {Component, Output, EventEmitter} from '@angular/core'; import {KlassService} from '../services/klass.service'; import {Klass} from '../models/klass'; @Component({ selector: 'klasses', template: ` -