<commit_before>import { {{className}}Service } from './{{fileName}}.service';
{{#if modelName}}
import { {{modelName}} } from './{{fileName}}.model';
{{/if}}

export class {{className}}Controller {
  public someArray: Array<any>;
  {{#if modelName}}
  public selected: {{modelName}};
  {{/if}}

  /* @ngInject */
  constructor({{className}}Service: {{className}}Service) {
    this.someArray = {{className}}Service.get();
  }
}

export class {{className}}Component implements ng.IComponentOptions {
  public bindings: any;
  public controller: any;
  public templateUrl: string;
  public controllerAs: string;

  /** @ngInject */
  constructor() {
    this.bindings = {};
    this.controller = {{className}}Controller;
    this.templateUrl = 'app/{{fileName}}/{{fileName}}.html';
    this.controllerAs = 'vm';
  }
}<commit_msg>small fix for page component<commit_after>import { {{className}}Service } from './{{fileName}}.service';
{{#if modelName}}
import { {{modelName}} } from './{{fileName}}.model';
{{/if}}

export class {{className}}Controller {
  public someArray: Array<any>;
  {{#if modelName}}
  public selected: {{modelName}};
  {{/if}}

  /* @ngInject */
  constructor(private {{className}}Service: {{className}}Service) {
    this.someArray = {{className}}Service.get();
  }
}

export class {{className}}Component implements ng.IComponentOptions {
  public bindings: any;
  public controller: any;
  public templateUrl: string;
  public controllerAs: string;

  /** @ngInject */
  constructor() {
    this.bindings = {};
    this.controller = {{className}}Controller;
    this.templateUrl = 'app/{{fileName}}/{{fileName}}.html';
    this.controllerAs = 'vm';
  }
}
{'fraction_non_alphanumeric': 0.1872391174716756, 'fraction_numerical': 0.0, 'mean_word_length': 4.519736842105263, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4723850', 'n_tokens_mistral': 504, 'n_tokens_neox': 502, 'n_words': 113}