Reputation: 199
Say I have a website https://example.com
and I want to have a domain prefix for the blog area like this: https://blog.example.com
. How could you manage the routing for this with angular?
Upvotes: 0
Views: 145
Reputation: 327
it's not the same app, routing is made to navigate within the same app.
You should use href property like this:
<a [href]="{{blogUrl}}">https://blog.example.com</a>
Upvotes: 1