Last active
April 27, 2020 14:57
-
-
Save ShilpaLalwani/6a6d302c89cce4719f98beebe0d7eb75 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component } from '@angular/core'; | |
import { ProfileService } from '../profile.service'; | |
@Component({ | |
selector: 'app-guest-card', | |
templateUrl: './guest-card.component.html', | |
styleUrls: ['./guest-card.component.css'] | |
}) | |
export class GuestProfileComponent { | |
constructor(private profileService: ProfileService) {} | |
login() { | |
this.profileService.login(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment