<commit_before>search directive
==========================

a simple search directive

![screenshot](https://stash.turn.com/projects/CNSL/repos/search/browse/screenie.png?raw)

## dependencies

- angular 1.x

## features

- lightweight
- configurable behavior
- supports both basic (click on affordances) and pro user (keyboard-only) interactions
- supports any number of directive instances on one page
- 100% test coverage

## installation

```bash
bower install ssh://git@stash.turn.com:7999/cnsl/search.git
```

## usage

```html
<div ng-controller="mainCtrl">
	<search
		class="size-medium"
		param="searchText"
		placeholder="Search"
		search="search($param)"
	></search>
	<a ng-click="clear()">Clear</a><commit_msg>up readme<commit_after>search directive
==========================

a simple search directive

![screenshot](https://raw.githubusercontent.com/turn/angular-search/master/screenie.png)

## dependencies

- angular 1.x

## features

- lightweight
- configurable behavior
- supports both basic (click on affordances) and pro user (keyboard-only) interactions
- supports any number of directive instances on one page
- 100% test coverage

## installation

```bash
# using bower:
bower install --save angular-search

# .. or, using NPM:
npm install --save angular-search
```

## usage

```html
<div ng-controller="mainCtrl">
	<search
		class="size-medium"
		param="searchText"
		placeholder="Search"
		search="search($param)"
	></search>
	<a ng-click="clear()">Clear</a>
{'fraction_non_alphanumeric': 0.16890982503364738, 'fraction_numerical': 0.008075370121130552, 'mean_word_length': 4.948, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '2663667', 'n_tokens_mistral': 488, 'n_tokens_neox': 445, 'n_words': 118}