That's totally how it works in Angular with the router-outlet. In AngularJS, the view was rendering inside of the ng-view. But in Angular, the rendered component is rendered next to the router-outlet. That is working as expected.
On Tuesday, December 22, 2020 at 11:42:02 PM UTC-7 [email protected] wrote: > I have this: > > [image: Screen Shot 2020-12-22 at 10.40.43 PM.png] > > but I am seeing this in the HTML: > > [image: Screen Shot 2020-12-22 at 10.38.09 PM.png] > > the fact that <app-signup> and <app-login> are not inside the > <router-outlet> tag seems wrong and maybe that's why my routing is > misbehaving? > > > -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/angular/b3312cc8-d481-48d6-9756-d75a9d8d093bn%40googlegroups.com.
