<commit_before>import angular from 'angular';
import {appName} from '../constants';

const template = `
<h1>hello</h1>
`;

const ddo = () => {
  return {
    restrict: 'E',
    scope: {},
    template: template
  };
};

angular.module(appName).directive('ikaApp', ddo);
<commit_msg>feat(ika-app): update<commit_after>import angular from 'angular';
import {appName} from '../constants';

const directiveName = 'ikaApp';

class IkaAppController {
  constructor() {
    this.title = 'イカよろ';
    this.description = '『イカよろ』はTwitterアカウントとイカID（ニンテンドーネットワークID）をまとめて登録・検索ができるサービスです！イカ、よろしく〜〜〜';
  }
}

const template = `
<h1>{{${directiveName}.title}}</h1>
<div>
  <p>{{${directiveName}.description}}</p>
</div>
`;

const ddo = () => {
  return {
    restrict: 'E',
    scope: {},
    template: template,
    controller: IkaAppController,
    controllerAs: directiveName
  };
};

angular.module(appName).directive(directiveName, ddo);

{'fraction_non_alphanumeric': 0.18142548596112312, 'fraction_numerical': 0.004319654427645789, 'mean_word_length': 4.421052631578948, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, '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': '3710754', 'n_tokens_mistral': 364, 'n_tokens_neox': 366, 'n_words': 60}