<commit_before>typeahead Angular Module
========================

Very barebone angular typeahead module. Creates an autocomplete for input fields

Install
-------

Copy the typeahead.js and typeahead.css file into your project and add the following line with the correct path:

		<script src="/path/to/scripts/typeahead.js"></script>
		<script src="/path/to/scripts/typeahead.css"></script>

Alternatively, if you're using bower, you can add this to your component.json (or bower.json):

		"typeahead": "git://github.com/standup75/typeahead.git"

And add this to your HTML:

		<script src="components/typeahead/typeahead.js"></script>
		<script src="components/typeahead/typeahead.css"></script>

Note that the style is very minimal, it's up to you to make it fit your need.

Usage
-----
		<typeahead>
			<ul ng-repeat="value in autocompleteValues">
					<li>{{value}}</li>
			</ul>
		</typeahead>

And don't forget to add the module to your application

		angular.module("myApp", ["typeahead"])

Every attribute that you add to the typeahead tag will be put to the input tag.
Note that the default type for input is text, but it can be changed, for example <typeahead type="email">

Options
-------

You can decide to keep the list visible by adding the show-if-empty attribute like this:

		<typeahead type="email" show-if-empty>

Event
-------

The Event "typeahead:input" will be sent when the input is selected, so you can register to the event this way (the demo includes that too):

		$scope.$on("typeahead:input", function(e, input) {...});<commit_msg>Example shows ng-repeat on li now...<commit_after>typeahead Angular Module
========================

Very barebone angular typeahead module. Creates an autocomplete for input fields

Install
-------

Copy the typeahead.js and typeahead.css file into your project and add the following line with the correct path:

		<script src="/path/to/scripts/typeahead.js"></script>
		<script src="/path/to/scripts/typeahead.css"></script>

Alternatively, if you're using bower, you can add this to your component.json (or bower.json):

		"angular-typeahead-basic": "~0.0.1"

And add this to your HTML:

		<script src="components/typeahead/typeahead.js"></script>
		<script src="components/typeahead/typeahead.css"></script>

Note that the style is very minimal, it's up to you to make it fit your need.

Usage
-----
		<typeahead>
			<ul>
					<li ng-repeat="value in autocompleteValues">{{value}}</li>
			</ul>
		</typeahead>

And don't forget to add the module to your application

		angular.module("myApp", ["typeahead"])

Every attribute that you add to the typeahead tag will be put to the input tag.
Note that the default type for input is text, but it can be changed, for example <typeahead type="email">

Options
-------

You can decide to keep the list visible by adding the show-if-empty attribute like this:

		<typeahead type="email" show-if-empty>

Event
-------

The Event "typeahead:input" will be sent when the input is selected, so you can register to the event this way (the demo includes that too):

		$scope.$on("typeahead:input", function(e, input) {...});
{'fraction_non_alphanumeric': 0.13248, 'fraction_numerical': 0.0016, 'mean_word_length': 3.977707006369427, 'pattern_counts': {'":': 2, '<': 35, '<?xml version=': 0, '>': 35, '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': '1902293', 'n_tokens_mistral': 989, 'n_tokens_neox': 878, 'n_words': 371}