1 import { Component, OnInit } from '@angular/core';
2 import { FormBuilder, FormGroup } from '@angular/forms';
3 import { Router } from '@angular/router';
5 import { NotificationsService } from 'angular2-notifications';
7 import { AuthService } from '../core';
16 selector: 'my-account',
17 templateUrl: './account.component.html',
18 styleUrls: [ './account.component.scss' ]
20 export class AccountComponent implements OnInit {
23 constructor(private authService: AuthService) {}
26 this.user = this.authService.getUser();