The previous, now depracted, RC1 router specified that you had to have a
"<base>" element in your HTML like this:

> <!DOCTYPE html>
> <html>
> <head>
>     <base href="/" />
> ...


Does the V3 router not have a similar requirement? If it does not, then I
see know way for Angular to magically know how to construct the URLs
correctly (ie. not based off the current URL but based off of some other
URL).

-Luke

On Mon, Jun 27, 2016 at 12:30 PM, HisDivineShadow <
[email protected]> wrote:

> I get the exact same error when I use that URL (i.e. a trailing slash
> without the parameter).
>
>
> Error: (SystemJS) Error: XHR error (404 Not Found) loading
> http://localhost:8088/homedetail/app/app.js
>    at XMLHttpRequest.wrapFn [as _onreadystatechange] (
> http://localhost:8088/node_modules/zone.js/dist/zone.js:769:30)
>    at ZoneDelegate.invokeTask (
> http://localhost:8088/node_modules/zone.js/dist/zone.js:356:38)
>    at Zone.runTask (
> http://localhost:8088/node_modules/zone.js/dist/zone.js:256:48)
>    at XMLHttpRequest.ZoneTask.invoke (
> http://localhost:8088/node_modules/zone.js/dist/zone.js:423:34)
> Error loading http://localhost:8088/homedetail/app/app.js
>
> --
> 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.
>



-- 
Lucas Lacroix
Computer Scientist
System Technology Division, MEDITECH <http://ehr.meditech.com>
781-774-2293

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