;
+
+ beforeEach(async () => {
+ await TestBed.configureTestingModule({
+ declarations: [ ListComponent ]
+ })
+ .compileComponents();
+ });
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(ListComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/src/app/users/list/list.component.ts b/src/app/users/list/list.component.ts
new file mode 100644
index 0000000..651faf9
--- /dev/null
+++ b/src/app/users/list/list.component.ts
@@ -0,0 +1,16 @@
+import { Component, ChangeDetectionStrategy } from '@angular/core';
+
+@Component({
+ selector: 'app-list',
+ template: `
+ User List
+
+ Lorem ipsum, dolor sit amet consectetur adipisicing elit. Ipsa, eos. Totam
+ accusantium sit officia laborum, quisquam nemo ut perferendis voluptatum
+ assumenda amet suscipit laudantium sapiente sed quibusdam repudiandae
+ maiores consequatur.
+
+ `,
+ changeDetection: ChangeDetectionStrategy.OnPush,
+})
+export class ListComponent {}
diff --git a/src/app/users/users.component.spec.ts b/src/app/users/users.component.spec.ts
new file mode 100644
index 0000000..2d6432f
--- /dev/null
+++ b/src/app/users/users.component.spec.ts
@@ -0,0 +1,25 @@
+import { ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { UsersComponent } from './users.component';
+
+describe('UsersComponent', () => {
+ let component: UsersComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(async () => {
+ await TestBed.configureTestingModule({
+ declarations: [ UsersComponent ]
+ })
+ .compileComponents();
+ });
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(UsersComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/src/app/users/users.component.ts b/src/app/users/users.component.ts
new file mode 100644
index 0000000..bf0231c
--- /dev/null
+++ b/src/app/users/users.component.ts
@@ -0,0 +1,17 @@
+import { Component, ChangeDetectionStrategy } from '@angular/core';
+
+@Component({
+ selector: 'app-users',
+ template: `
+ Users Journey
+
+
+
+ `,
+ changeDetection: ChangeDetectionStrategy.OnPush,
+})
+export class UsersComponent {}
diff --git a/src/app/users/users.module.ts b/src/app/users/users.module.ts
new file mode 100644
index 0000000..a598eb3
--- /dev/null
+++ b/src/app/users/users.module.ts
@@ -0,0 +1,15 @@
+import { NgModule } from '@angular/core';
+import { CommonModule } from '@angular/common';
+import { RouterModule } from '@angular/router';
+
+import { WelcomeComponent } from './welcome/welcome.component';
+import { UsersComponent } from './users.component';
+import { AngularMaterialModule } from '../angular-material/angular-material.module';
+import { ListComponent } from './list/list.component';
+
+@NgModule({
+ declarations: [WelcomeComponent, UsersComponent, ListComponent],
+ exports: [WelcomeComponent, UsersComponent, ListComponent],
+ imports: [AngularMaterialModule, CommonModule, RouterModule],
+})
+export class UsersModule {}
diff --git a/src/app/users/welcome/welcome.component.spec.ts b/src/app/users/welcome/welcome.component.spec.ts
new file mode 100644
index 0000000..949ca3c
--- /dev/null
+++ b/src/app/users/welcome/welcome.component.spec.ts
@@ -0,0 +1,25 @@
+import { ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { WelcomeComponent } from './welcome.component';
+
+describe('WelcomeComponent', () => {
+ let component: WelcomeComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(async () => {
+ await TestBed.configureTestingModule({
+ declarations: [ WelcomeComponent ]
+ })
+ .compileComponents();
+ });
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(WelcomeComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/src/app/users/welcome/welcome.component.ts b/src/app/users/welcome/welcome.component.ts
new file mode 100644
index 0000000..b51055f
--- /dev/null
+++ b/src/app/users/welcome/welcome.component.ts
@@ -0,0 +1,8 @@
+import { Component, ChangeDetectionStrategy } from '@angular/core';
+
+@Component({
+ selector: 'app-welcome',
+ template: ` Welcome
`,
+ changeDetection: ChangeDetectionStrategy.OnPush,
+})
+export class WelcomeComponent {}
diff --git a/src/index.html b/src/index.html
index 48fc669..0a2c9c1 100644
--- a/src/index.html
+++ b/src/index.html
@@ -1,16 +1,22 @@
-
+
-
-
- AngularGuards
-
-
-
-
-
-
-
-
-
-
+
+
+ Angular Guards - CanActivateChild
+
+
+
+
+
+
+
+
+
+