<commit_before>import angular from 'angular';

// imports for this component
import EventService from '../../../../../services/event/event.service';
import template from './ideas-card.html';
import './ideas-card.css';

class IdeasCardController {
  constructor(EventService, UserService) {
    this.EventService = EventService;
    this.userId = UserService.user.id;

    this.upVote = this.upVote.bind(this);
    this.downVote = this.downVote.bind(this);
    this.handleDeleteClick = this.handleDeleteClick.bind(this);
    this.handlePromoteClick = this.handlePromoteClick.bind(this);
  }

  handleDeleteClick() {
    this.deleteEvent(this.eventId);
  }<commit_msg>removing unnecessary global services import<commit_after>import angular from 'angular';

// imports for this component
import template from './ideas-card.html';
import './ideas-card.css';

class IdeasCardController {
  constructor(EventService, UserService) {
    this.EventService = EventService;
    this.userId = UserService.user.id;

    this.upVote = this.upVote.bind(this);
    this.downVote = this.downVote.bind(this);
    this.handleDeleteClick = this.handleDeleteClick.bind(this);
    this.handlePromoteClick = this.handlePromoteClick.bind(this);
  }

  handleDeleteClick() {
    this.deleteEvent(this.eventId);
  }
{'fraction_non_alphanumeric': 0.12945736434108526, 'fraction_numerical': 0.0, 'mean_word_length': 4.184738955823293, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '673424', 'n_tokens_mistral': 394, 'n_tokens_neox': 389, 'n_words': 72}