import { Component } from '@angular/core';
import {NavParams} from 'ionic-angular';

/**
 * Generated class for the PopoverComponent component.
 *
 * See https://angular.io/api/core/Component for more info on Angular
 * Components.
 */
@Component({
  selector: 'popover',
  templateUrl: 'popover.html'
})
export class PopoverComponent {
  game:any;

  constructor(public navParams: NavParams) {
    console.log(this.navParams.data);
    this.game = navParams.data;
  }

}
