Blank Page with '@angular2/core' instead of '@angular/core'


#1

When I try to import my Component from Angular2 instead of Angular the whole page doesn’t work anymore.

Any clue how to fix this?

import {Component} from '@angular2/core';

import { NavController } from 'ionic-angular';

@Component({
  selector: 'page-home',
  templateUrl: 'home.html'
})
export class HomePage {

  constructor(public navCtrl: NavController) {

  }

}

#2

Why are you doing this? I don’t think I have ever seen @angular2/core. There used to be angular2/core, but since RC stage @angular/core is correct.


#3

I tried to use a Directive in the Component. A tutorial showed me this way but I found a better solution right now.