Skip to content

Instantly share code, notes, and snippets.

@ShilpaLalwani
Last active April 27, 2020 14:57
Show Gist options
  • Save ShilpaLalwani/6a6d302c89cce4719f98beebe0d7eb75 to your computer and use it in GitHub Desktop.
Save ShilpaLalwani/6a6d302c89cce4719f98beebe0d7eb75 to your computer and use it in GitHub Desktop.
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