Skip to content

Instantly share code, notes, and snippets.

@ShilpaLalwani
Last active April 27, 2020 14:55
Show Gist options
  • Save ShilpaLalwani/d325e304a9d65327560d941d0d953491 to your computer and use it in GitHub Desktop.
Save ShilpaLalwani/d325e304a9d65327560d941d0d953491 to your computer and use it in GitHub Desktop.
import { Component } from '@angular/core';
import { ProfileService } from '../profile.service';
@Component({
selector: 'app-user-card',
templateUrl: './user-card.component.html',
styleUrls: ['./user-card.component.css']
})
export class ClientProfileComponent {
constructor(private profileService: ProfileService) {}
logout() {
this.profileService.logout();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment