<commit_before># NgHtmlCompile

*ng-html-compile* is a simple directive for *Angualr JS* to bind and compile an Html fragment.

## Getting started

In your *index.html*:

	<html ng-app="MyApp">

		<body ng-controller="HomeCtrl">

			<div ng-html-compile="htmlTemplate"></div>
			<div>{{name}}</div>

			<script src="libs/angular.js"></script>
			<script src="libs/ngHtmlCompile.js"></script>
			<script src="script.js"></script>

		</body>

	</html>

In your *script.js*:

	var myApp = angular.module('MyApp', ['ngHtmlCompile']);

	function HomeCtrl($scope, $compile) {
		$scope.name = '<NAME> Isla;
		$scope.htmlTemplate = "<b>Name</b> <input type='text' ng-model='name' />";
	};

<commit_msg>Readme: use GFM fenced code block and syntax higlighting<commit_after># NgHtmlCompile

*ng-html-compile* is a simple directive for *Angualr JS* to bind and compile an Html fragment.

## Getting started

In your *index.html*:

```html
<html ng-app="MyApp">

	<body ng-controller="HomeCtrl">

		<div ng-html-compile="htmlTemplate"></div>
		<div>{{name}}</div>

		<script src="libs/angular.js"></script>
		<script src="libs/ngHtmlCompile.js"></script>
		<script src="script.js"></script>

	</body>

</html>
```

In your *script.js*:

```javascript
var myApp = angular.module('MyApp', ['ngHtmlCompile']);

function HomeCtrl($scope, $compile) {
	$scope.name = '<NAME>';
	$scope.htmlTemplate = '<b>Name</b> <input type="text" ng-model="name" />';
};
```


{'fraction_non_alphanumeric': 0.1968121968121968, 'fraction_numerical': 0.0, 'mean_word_length': 4.596899224806202, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, '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': '1710409', 'n_tokens_mistral': 550, 'n_tokens_neox': 497, 'n_words': 119}