<commit_before>import {Component, View, bootstrap, CORE_DIRECTIVES} from 'angular2/angular2';

@Component({ selector: 'hello-app' })
@View({template: `
    <h1>Hello, {{name}}!</h1>
    Say hello to: <input [value]="name" (input)="name = $event.target.value">
` })
export class HelloApp {
    name: string = 'World';
}

bootstrap(HelloApp);<commit_msg>refactor: simplify the initial example<commit_after>import {Component, bootstrap} from 'angular2/angular2';

@Component({
    selector: 'hello-app',
    template: `
        <h1>Hello, {{name}}!</h1>
        Say hello to: <input [value]="name" (input)="name = $event.target.value">
    `
})
export class HelloApp {
    name: string = 'World';
}

bootstrap(HelloApp);
{'fraction_non_alphanumeric': 0.1799163179916318, 'fraction_numerical': 0.011157601115760111, 'mean_word_length': 4.609375, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '2300429', 'n_tokens_mistral': 246, 'n_tokens_neox': 240, 'n_words': 55}