nycJSorg/angular-presentation

View on GitHub
apps/codelab/src/app/components/not-found/not-found.component.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { Component, ChangeDetectionStrategy } from '@angular/core';

@Component({
  selector: 'codelab-not-found',
  templateUrl: './not-found.component.html',
  styleUrls: ['./not-found.component.scss'],
  changeDetection: ChangeDetectionStrategy.OnPush
})
export class NotFoundComponent {
  public routes = [
    {
      path: '',
      name: 'Home'
    },
    {
      path: '/angular/typescript',
      name: 'Typescript'
    },
    {
      path: '/angular',
      name: 'Angular'
    }
  ];
}