Skip to content

Commit 7ccee7c

Browse files
authored
feat: add discovery service components
1 parent 6f0c8be commit 7ccee7c

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { ChangeDetectionStrategy, Component } from '@angular/core';
2+
import { BasePageComponent } from '../../page/page.component';
3+
4+
@Component({
5+
selector: 'app-discovery-service',
6+
templateUrl: './dependency-injection.component.html',
7+
changeDetection: ChangeDetectionStrategy.OnPush,
8+
})
9+
export class DiscoveryServiceComponent extends BasePageComponent {}

src/app/homepage/pages/fundamentals/fundamentals.module.ts

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { RouterModule, Routes } from '@angular/router';
44
import { SharedModule } from '../../../shared/shared.module';
55
import { AsyncComponentsComponent } from './async-components/async-components.component';
66
import { CircularDependencyComponent } from './circular-dependency/circular-dependency.component';
7+
import { DiscoveryServiceComponent } from './discovery-service/discovery-service.component';
78
import { DependencyInjectionComponent } from './dependency-injection/dependency-injection.component';
89
import { DynamicModulesComponent } from './dynamic-modules/dynamic-modules.component';
910
import { LifecycleEventsComponent } from './lifecycle-events/lifecycle-events.component';
@@ -86,6 +87,11 @@ const routes: Routes = [
8687
component: CircularDependencyComponent,
8788
data: { title: 'Circular Dependency' },
8889
},
90+
{
91+
path: 'discovery-service',
92+
component: DiscoveryServiceComponent,
93+
data: { title: 'Discovery Service' },
94+
},
8995
];
9096

9197
@NgModule({

0 commit comments

Comments
 (0)