<commit_before>{
	"Angular Bootstrap": {
		"prefix": "ng2bootstrap",
		"body": [
			"import {provide} from 'angular2/core';",
			"import {bootstrap} from 'angular2/platform/browser';",
			"import {ROUTER_PROVIDERS, APP_BASE_HREF, LocationStrategy, HashLocationStrategy} from 'angular2/router';",
			"import {${AppCmp}} from './${components}/${app}/${app}';",
			"",
			"bootstrap(${AppCmp}, [",
			"	ROUTER_PROVIDERS,",
			"	provide(LocationStrategy, { useClass: HashLocationStrategy })",
			"]);"
		],
		"description": "Create a bootstrap code for angular2 application"
	}
}<commit_msg>ng2AppComp<commit_after>{
	"Angular Bootstrap": {
		"prefix": "ng2bootstrap",
		"body": [
			"import {provide} from 'angular2/core';",
			"import {bootstrap} from 'angular2/platform/browser';",
			"import {ROUTER_PROVIDERS, APP_BASE_HREF, LocationStrategy, HashLocationStrategy} from 'angular2/router';",
			"import {${AppCmp}} from './${components}/${app}/${app}';",
			"",
			"bootstrap(${AppCmp}, [",
			"	ROUTER_PROVIDERS,",
			"	provide(LocationStrategy, { useClass: HashLocationStrategy })",
			"]);"
		],
		"description": "Create a bootstrap code for angular2 application"
	},
	"Angular App Component": {
		"prefix": "ng2appComp",
		"body": [
			"import {Component, ViewEncapsulation} from 'angular2/core';",
			"import {",
			" RouteConfig,",
			"  ROUTER_DIRECTIVES",
			"} from 'angular2/router';",
			"import {HTTP_PROVIDERS} from 'angular2/http';",
			"",
			"import {${ChildComponent}} from '../${ChildComponent}/${childComponent}';",
			"import {${Service}} from '../${Service}/${service}';",
			"",
			"@Component({",
			"  selector: '${selector}',",
			"  viewProviders: [${Service}],",
			"  templateUrl: '${./components/app/app.html}',",
			"  styleUrls: ['${./components/app/app.css}'],",
			"  encapsulation: ViewEncapsulation.None,",
			"  directives: [ROUTER_DIRECTIVES]",
			"})",
			"@RouteConfig([",
			"  { path: '/', component: ${ChildComponent}, as: '${ChildComponent}' }",
			"])",
			"export class AppCmp {}"
		],
		"description": "Root component of your application"
	}
}
{'fraction_non_alphanumeric': 0.2125418860698899, 'fraction_numerical': 0.007180469123982767, 'mean_word_length': 4.573333333333333, 'pattern_counts': {'":': 12, '<': 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': '5797943', 'n_tokens_mistral': 821, 'n_tokens_neox': 719, 'n_words': 132}