<commit_before># ng-p.u.pp.a [![GitHub version](https://badge.fury.io/gh/UstymUkhman%2Fng-p.u.pp.a.svg)](https://badge.fury.io/gh/UstymUkhman%2Fng-p.u.pp.a) [![Join the chat at https://gitter.im/angular-ui/ui-validate](https://badges.gitter.im/Join%20Chat.svg)]([![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/UstymUkhman/ng-p.u.pp.a?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge))

AngularJS badass directive

Angular.js comes with several built-in validation mechanism for input fields (ngRequired, ngPattern etc.), however, by using this directive
it's possible to handle both validation outcome (true or false) by specifying a custom template for each of results (or just for one of them). 
The ng-puppa directive makes it easy to use any variable(s) defined in scope as a validator variable(s). A validator variable will trigger
directive's validation process every time the variable(s) changes.

## Requirements

- AngularJS

## Usage


You can get it from [Bower](http://bower.io/)

```sh
bower install git://github.com/UstymUkhman/ng-p.u.pp.a.git
```

Load the script files in your application:

```html
<script type="text/javascript" src="bower_components/angular/angular.js"></script>
<script type="text/javascript" src="bower_components/angular-ng-p.u.pp.a/dist/ng-puppa.js"></script>
```

Add the specific module to your dependencies:<commit_msg>Update README.md with a demo link<commit_after># ng-p.u.pp.a [![GitHub version](https://badge.fury.io/gh/UstymUkhman%2Fng-p.u.pp.a.svg)](https://badge.fury.io/gh/UstymUkhman%2Fng-p.u.pp.a) [![Join the chat at https://gitter.im/angular-ui/ui-validate](https://badges.gitter.im/Join%20Chat.svg)]([![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/UstymUkhman/ng-p.u.pp.a?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge))

AngularJS badass directive

Angular.js comes with several built-in validation mechanism for input fields (ngRequired, ngPattern etc.), however, by using this directive
it's possible to handle both validation outcome (true or false) by specifying a custom template for each of results (or just for one of them). 
The ng-puppa directive makes it easy to use any variable(s) defined in scope as a validator variable(s). A validator variable will trigger
directive's validation process every time the variable(s) changes.

## Demo

You can test 'ng-p.u.pp.a' [here](http://ustymukhman.github.io/ng-p.u.pp.a/demo.html).


## Requirements

- AngularJS


## Usage

You can get it from [Bower](http://bower.io/)

```sh
bower install git://github.com/UstymUkhman/ng-p.u.pp.a.git
```

Load the script files in your application:

```html
<script type="text/javascript" src="bower_components/angular/angular.js"></script>
<script type="text/javascript" src="bower_components/angular-ng-p.u.pp.a/dist/ng-puppa.js"></script>
```

Add the specific module to your dependencies:
{'fraction_non_alphanumeric': 0.1474844934527912, 'fraction_numerical': 0.004135079255685734, 'mean_word_length': 4.936605316973415, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 12, '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': '4166463', 'n_tokens_mistral': 1050, 'n_tokens_neox': 1007, 'n_words': 248}