I am little confused here in angular2. Many example show like
import { Component } from "@angular/core"
But actually in node_module
there is angular2
directory exists. So logically it should be
import { Component } from "angular2/core"
What is the difference between this two ?
That's a change that was introduced with the update from beta.17 to rc.0
https://github.com/angular/angular/blob/master/CHANGELOG.md#200-rc0-2016-05-02
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With