Just read other post and solution for my issue is to use  <base href="/" />
not  <base href="." />

On Wednesday, June 29, 2016 at 10:06:58 AM UTC+10, Long Field wrote:
>
>
> Can anyone tell how new component Router works under ASP.NET MVC/WEB API 
> environment? as both MVC(WEB API) and component Router try to explain what 
> url means.
>    
> angular 2 work under http://localhost:8080/, but not 
> http://localhost:8080/Home/Index.
>
> my index.cshtml has just my-app and there is component router inside 
> my-app like:
>
> <my-app>Loading</load>
>
>
>
> error as :
> Error: Error: XHR error (404 Not Found) loading 
> http://localhost:8080/Home/app/main.js(…)    Index:29 
>

-- 
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