me_digvijay me_digvijay - 1 year ago 178
TypeScript Question

Difference between angular2/core and @angular/core

Might be very stupid but I have seen several uses of

import {Component} from 'angular2/core'


import {Component} from '@angular/core'

but I am not able to understand when to use one or another.


Answer Source

Since first release candidate the packages are repackaging into individual packages one per each feature area.

angular2/core (before rc.0) -> @angular/core (>= rc.0) 
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download