From 5fc17357d662555cb0c3d709762ee5c4b5e7a294 Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Fri, 16 Jun 2017 18:45:07 -0400 Subject: [PATCH] displaying all users in nav --- src/app/app.component.html | 11 ++++++----- src/app/app.component.ts | 2 ++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/app/app.component.html b/src/app/app.component.html index 8ff77f5..e184eb9 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -13,11 +13,12 @@
  • Link
  • -
  • - User 1 -
  • -
  • - User 2 + + + diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 7b0f672..1d4994d 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -1,4 +1,5 @@ import { Component } from '@angular/core'; +import { USERS } from './user/users'; @Component({ selector: 'app-root', @@ -7,4 +8,5 @@ import { Component } from '@angular/core'; }) export class AppComponent { title = 'app'; + users = USERS; }