Ok, I figured out the issue.

In my index.html I have a base element:

<base href=".">

I updated this to point to the url of the instance, i.e. 
http://localhost:3000/ and it resolved the issue.

:)


On Friday, August 19, 2016 at 11:31:19 AM UTC+1, Bit sprint wrote:
>
> Hi,
>
> I have a route with child routes.
>
> export const routes: RouterConfig = [
>   { path: '*', component: Home },
>   { path: 'parent', component: Parent, children: [
>   
> { path: '', redirectTo: 'intro' },
> { path: 'results', component: Results }
> ]}
> ];
>
> If I navigate directly to /parent/results it doesn't render the page.
>
> How do I configure routes so that I can directly navigate directly to a 
> child route?
>
> Thanks :)
>
>

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