python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Angular - How to point multiple routes to a single component
Hi below is my scenario.
I have two child modules with different routes
Eg route 1 :
http://localhost:4200/launch/upcoming/launchdetails
Eg route 2 :
http://localhost:4200/launchdetails
I am t...
user1663373
Votes: 0
Answers: 2
Angular, a element has href and onclick, how to prevent the href from redirecting with the onclick?
I have tried e.preventDefault, e.stopPropegation, e.stopImmediatePropegation but none seem to actually prevent the url from being redirected. Is there anything else I can try?
Quabs
Votes: 0
Answers: 1
Angular redirect within await async method odd behaviour
I have FCM messaging notification being received by the app fine but when trying to trigger a router navigation (if a call is received I want to display a page which looks like the standard Android in...
Mad Eddie
Votes: 0
Answers: 1
Angular RouteReuseStrategy
I have a doubt regarding RouteReuseStrategy. The main concept is clear and I implemented it to have the previous state from a list to the detail component with the shouldReuse data:
{ path: 'list', co...
elia
Votes: 0
Answers: 0