html code
<div class="section-layout text-center"> <a [routerLink]="[pricing]" class="btn btn-primary my-5">Upgrade</a> </div>
hi ,when i try to login and its this upgrade button its navigating me to (https://dev.socialtools.me/Plans-and-Pricing-Application-on-Facebook) this url and letter if i refresh the page and try to click on this button its giving me an error
Error: Cannot match any routes. URL Segment: 'undefined' https://dev.socialtools.me/undefined)
Assuming pricing is route not variable
[routerLink]="[/'pricing']"
2.1m questions
2.1m answers
60 comments
57.0k users