<commit_before># ng-templatecache

Convert Angular templates to $templateCache entries.

## Installation

```
npm install --save ng-templatecache
```

## Usage

```js
var templatecache = require('templatecache');
var myTemplate = '<div>Hello, {{firstName}}</div>';
templatecache.render({
  entries: [{content: myTemplate, path: '/templates/greet.html'}],
  module: 'templates'
});
```
<commit_msg>Fix example in README<commit_after># ng-templatecache

Convert Angular templates to $templateCache entries.

## Installation

```
npm install --save ng-templatecache
```

## Usage

```js
var templatecache = require('ng-templatecache');
var myTemplate = '<div>Hello, {{firstName}}</div>';
templatecache.render({
  entries: [{content: myTemplate, path: '/templates/greet.html'}],
  module: 'templates'
});
```

{'fraction_non_alphanumeric': 0.17267080745341615, 'fraction_numerical': 0.0, 'mean_word_length': 5.773109243697479, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '2575533', 'n_tokens_mistral': 255, 'n_tokens_neox': 238, 'n_words': 63}