Thank you Kevin. That means Typescript searches for that scope in 
node_modules automatically? I have different route configs which depend on 
url parameters. That is why I would like to set my import path dynamically 
and build a custom scope. It is one app, but it can bootstrap different 
routes. Any ideas on that?

Am Mittwoch, 13. Juli 2016 17:16:53 UTC+2 schrieb Kevin Fernandes:
>
> Its not the short form that Typescript knows about, its the fact that its 
> in the node_modules folder I believe - typescript supports the node_modules 
> folder directly/natively.
> The short form by the way is called a "scope" in NPM language.  We use 
> scopes to publish to a private repository to keep components from different 
> projects and groups together.
>
> On Wed, Jul 13, 2016 at 10:21 AM, 'breaddes' via AngularJS <
> [email protected] <javascript:>> wrote:
>
>> Angular uses the short form of @angular to reference it's components. 
>> That's makes it easy for refactoring. I tried to write my own map using the 
>> keyword @edition in the system config. Now how does Typescript now about 
>> that short form? I haven't found any clou in the angular files. 
>>
>> -- 
>> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/angular.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Kevin F.
>

-- 
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to