I find that what works in this case is:

import { Hello } from "./hello/hello"

>From this I infer that:

a) I can do a relative path from whatever file this line is found in, and
b) the second half of the path above, the "/hello" is resolved to 
"/hello.js"

So then why are absolute paths not required when importing from angular? 
"angular2/angular2" works even though angular2's actual location is within 
a "node_modules" directory.



-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to