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)
Prevent angular routing multiple hits
Having the following route configuration:
const routes: Routes = [
{
path: 'home',
loadChildren: () => import('./home/home.module').then((m) => m.HomeModule),
},
...
Robert
Votes: 0
Answers: 3
Angular Component/Service to return image content to URL
I am trying to setup a component/service to return base64 image content to img.src calls from html.
I have images stored on google Firebase/Firestorage which can only be accessed via method calls to g...
LeosSire
Votes: 0
Answers: 0
hasCustomClaims redirects to blank page
I am using hasCustomClaim to guard a route from non admin users.
const adminOnly = () => hasCustomClaim('admin');
The problem here is after a simple user tries to visit the forbidden path, he get ...
Mohammed
Votes: 0
Answers: 1
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