<commit_before># Angular Telephone Filter

A simple Angular filter to clean or format a US telephone number.

[Demo on Plunker](http://plnkr.co/edit/b4rY7K?p=preview)


## Installation

```
$ bower install angular-telephone-filter --save
```

Or, include the JavaScript file in the head of your document:

```
<script src="/path/to/file/angular-telephone-filter.js"></script>
```

Include the module as a dependency of your application:

```
angular.module('myModule', [bc.TelephoneFilter]);
```


#### Dependencies

- `Angular >1.4`


## Usage

The filter expects a single parameter to be passed in to control the filter direction. A parameter<commit_msg>added missing quotes<commit_after># Angular Telephone Filter

A simple Angular filter to clean or format a US telephone number.

[Demo on Plunker](http://plnkr.co/edit/b4rY7K?p=preview)


## Installation

```
$ bower install angular-telephone-filter --save
```

Or, include the JavaScript file in the head of your document:

```
<script src="/path/to/file/angular-telephone-filter.js"></script>
```

Include the module as a dependency of your application:

```
angular.module('myModule', ['bc.TelephoneFilter']);
```


#### Dependencies

- `Angular >1.4`


## Usage

The filter expects a single parameter to be passed in to control the filter direction. A parameter
{'fraction_non_alphanumeric': 0.12566237698713095, 'fraction_numerical': 0.006056018168054504, 'mean_word_length': 4.578059071729958, 'pattern_counts': {'":': 0, '<': 7, '<?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': '1804169', 'n_tokens_mistral': 421, 'n_tokens_neox': 392, 'n_words': 139}