<commit_before>ez-case <img src="https://travis-ci.org/jdewit/ez-case.svg" data-bindattr-255="255" title="Build Status Images">
=======

A flexible Angular case conversion filter.

Convert from any case to your desired case.

Pull requests welcomed.

##Usage

Add ez.case to your apps list of modules.
Use like a standard angular filter

```js 
angular.module('myApp', ['ez.case'])

.controller('MyCtrl', function(EzCaseFilter) {
  console.log(EzCaseFilter('title', 'some_var'));  // prints "Some Var"
  console.log(EzCaseFilter('camel', 'some-var'));  // prints "someVar"
  console.log(EzCaseFilter('dash', 'someVar'));  // prints "some-var"
  console.log(EzCaseFilter('word', 'Some_Var'));  // prints "some var"
});

```

Add ez-alert markup to your html and include the dist files

```html 
  <body ng-app="myApp">

    {{ 'some_var' | ezCase('title') }}

    <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.9/angular.js"></script>
    <script src="bower_componentns/ez-case/dist/ez-case.min.js"></script>
  </body>
```

<commit_msg>fix typo<commit_after>ez-case <img src="https://travis-ci.org/jdewit/ez-case.svg" data-bindattr-255="255" title="Build Status Images">
=======

A flexible Angular case conversion filter.

Convert from any case to your desired case.

Pull requests welcomed.

##Usage

Add ez.case to your apps list of modules.
Use like a standard angular filter

```js 
angular.module('myApp', ['ez.case'])

.controller('MyCtrl', function(EzCaseFilter) {
  console.log(EzCaseFilter('title', 'some_var'));  // prints "Some Var"
  console.log(EzCaseFilter('camel', 'some-var'));  // prints "someVar"
  console.log(EzCaseFilter('dash', 'someVar'));  // prints "some-var"
  console.log(EzCaseFilter('word', 'Some_Var'));  // prints "some var"
});

```

Add ez-case markup to your html and include the dist files

```html 
  <body ng-app="myApp">

    {{ 'some_var' | ezCase('title') }}

    <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.9/angular.js"></script>
    <script src="bower_componentns/ez-case/dist/ez-case.min.js"></script>
  </body>
```


{'fraction_non_alphanumeric': 0.1836925960637301, 'fraction_numerical': 0.008434864104967198, 'mean_word_length': 4.391414141414141, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 2, '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': '6041142', 'n_tokens_mistral': 767, 'n_tokens_neox': 733, 'n_words': 169}