NetanelBasal
12/14/2016 - 1:08 PM

auth2.ts

/**
* Log out the user then tell all the subscribers about the new status
*/
logout() : void {
  localStorage.removeItem('token');
  this.isLoginSubject.next(false);
}