<commit_before>angular-image-crop
============

### Demo at <https://coolaj86.github.com/angular-image-crop>

This is a demo of jquery's jcrop wrapped in an angular directive and controller.

* [`/app/scripts/controller/profile-pic.js`](https://github.com/coolaj86/angular-image-crop/blob/master/app/scripts/controllers/profile-pic.js)
* [`/app/styles/profile-pic.css`](https://github.com/coolaj86/angular-image-crop/blob/master/app/styles/profile-pic.css)
* [`/app/views/profile-pic.jade`](https://github.com/coolaj86/angular-image-crop/blob/master/app/views/profile-pic.jade)

It's not complete, but you can test it out.

Install
===

```bash
git clone https://github.com/coolaj86/angular-image-crop.git angular-image-crop
pushd angular-image-crop/
git remote rename origin upstream

npm install -g yo
npm install -g generator-angular
npm install -g bower

npm install
bower install

grunt build --force
```

Use
===

```bash
grunt build --force
grunt serve
<commit_msg>added link to app.js<commit_after>angular-image-crop
============

### Demo at <https://coolaj86.github.com/angular-image-crop>

This is a demo of jquery's jcrop wrapped in an angular directive and controller.

* [`/app/scripts/app.js`](https://github.com/coolaj86/angular-image-crop/blob/master/app/scripts/app.js)
* [`/app/scripts/controller/profile-pic.js`](https://github.com/coolaj86/angular-image-crop/blob/master/app/scripts/controllers/profile-pic.js)
* [`/app/styles/profile-pic.css`](https://github.com/coolaj86/angular-image-crop/blob/master/app/styles/profile-pic.css)
* [`/app/views/profile-pic.jade`](https://github.com/coolaj86/angular-image-crop/blob/master/app/views/profile-pic.jade)

It's not complete, but you can test it out.

The directive is provided in the module `aj.crop`.

Install
===

```bash
git clone https://github.com/coolaj86/angular-image-crop.git angular-image-crop
pushd angular-image-crop/
git remote rename origin upstream

npm install -g yo
npm install -g generator-angular
npm install -g bower

npm install
bower install

grunt build --force
```

Use
===

```bash
grunt build --force
grunt serve

{'fraction_non_alphanumeric': 0.16129032258064516, 'fraction_numerical': 0.010436432637571158, 'mean_word_length': 4.366412213740458, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 11, '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': '1607697', 'n_tokens_mistral': 778, 'n_tokens_neox': 724, 'n_words': 150}