mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-13 06:13:03 -05:00
feat(injectionToken): create new challenge on injectionToken
This commit is contained in:
12
apps/angular/injection-token/src/app/app.config.ts
Normal file
12
apps/angular/injection-token/src/app/app.config.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { ApplicationConfig } from '@angular/core';
|
||||
import { provideRouter } from '@angular/router';
|
||||
|
||||
export const appConfig: ApplicationConfig = {
|
||||
providers: [
|
||||
provideRouter([
|
||||
{ path: '', pathMatch: 'full', redirectTo: 'video' },
|
||||
{ path: 'video', loadComponent: () => import('./video.component') },
|
||||
{ path: 'phone', loadComponent: () => import('./phone.component') },
|
||||
]),
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user