NetanelBasal
12/31/2016 - 4:57 PM

jwt.ts

//auth.service.ts
import { Injectable } from '@angular/core';

@Injectable()
export class AuthService {
  get token() {
    return 'JWT';
    // In real project
    // return localStorage.getItem('token');
  }
}