<commit_before>import { Component, OnInit } from '@angular/core';

import { VenueService } from './venue.service';

@Component({
  selector: 'result',
  template: `
    <div *ngFor="let venue of venues" >
      <p>{{venue}}</p>
      <p>{{venue.name}}</p>
      <hr/>
    </div>
  `
})
export class ResultComponent  {
  venues: any = [];

  constructor(private venueService: VenueService) {}

  ngOnInit(): void {
    this.venueService.getVenues('london')
      .then(items => {
        for (let item of items) {
          this.venues.push(item.venue);
          console.log(item);
        }
      });
  }
}<commit_msg>select what to display<commit_after>import { Component, OnInit } from '@angular/core';

import { VenueService } from './venue.service';

@Component({
  selector: 'result',
  template: `
    <div *ngFor="let venue of venues" >
      <h2>{{venue.name}}</h2>
      <p>{{venue.categories[0].name}}</p>
      <p>{{venue.location.address}}, {{venue.location.city}}</p>
      <p>{{venue.rating}}</p>
      <hr/>
    </div>
  `
})
export class ResultComponent  {
  venues: any = [];

  constructor(private venueService: VenueService) {}

  ngOnInit(): void {
    this.venueService.getVenues('london')
      .then(items => {
        for (let item of items)
          this.venues.push(item.venue);
      });
  }
}
{'fraction_non_alphanumeric': 0.1815431164901664, 'fraction_numerical': 0.0022692889561270802, 'mean_word_length': 2.758522727272727, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1270885', 'n_tokens_mistral': 453, 'n_tokens_neox': 431, 'n_words': 87}