<commit_before>Angular Spectrum Colorpicker
============================

[![Build Status](https://magnum.travis-ci.com/Jimdo/angular-spectrum-colorpicker.png?token=ZtVcRNmVRxsSKaA711h9)](https://magnum.travis-ci.com/Jimdo/angular-spectrum-colorpicker)

Angularified [spectrum colorpicker](http://bgrins.github.io/spectrum/)

This module bases on the [spectrum colorpicker](http://bgrins.github.io/spectrum/)
and can be embedded in any angular project via dependency injection:

	var myApp = angular.module('myApp', ['angularSpectrumColorpicker']);

To us it, put the Angular Spectrum Colorpicker directive in your html code and bind it to your project scope:

	<spectrum-colorpicker ng-model="someModel"></spectrum-colorpicker>


Dependencies
------------

 * [JQuery](http://jquery.com/)
 * [AngularJs](http://angularjs.org/)
 * [Spectrum](http://bgrins.github.io/spectrum/)


Usage
-----

1. Include dependencies

		jquery.min.js
		angular.min.js
		spectrum.css
		spectrum.js
		angular-spectrum-colorpicker.min.js

2. Add angular spectrum colorpicker module to your angular app

		angular.module('yourFancyApp', ['angularSpectrumColorpicker']);

3. use the directive whereever you want

		<spectrum-colorpicker ng-model="yourFancyModel"></spectrum-colorpicker>

4. Customize colorpicker with spectrum params via the options attribute:

		<spectrum-colorpicker ng-model="yourFancyModel" options="{showInput: true, showAlpha: true"></spectrum-colorpicker>

	All valid options: [http://bgrins.github.io/spectrum/#options](http://bgrins.github.io/spectrum/#options)


Initialize the source project
-----------------------------

	bower install
	npm install


Start demo & test environment
-----------------------------

	./node_modules/protractor/bin/webdriver-manager update --standalone<commit_msg>readme updated<commit_after>Angular Spectrum Colorpicker
============================

[![Build Status](https://magnum.travis-ci.com/Jimdo/angular-spectrum-colorpicker.png?token=<KEY>)](https://magnum.travis-ci.com/Jimdo/angular-spectrum-colorpicker)

Angularified [spectrum colorpicker](http://bgrins.github.io/spectrum/)

This module bases on the [spectrum colorpicker](http://bgrins.github.io/spectrum/)
and can be embedded in any angular project via dependency injection:

	var myApp = angular.module('myApp', ['angularSpectrumColorpicker']);

To us it, put the Angular Spectrum Colorpicker directive in your html code and bind it to your project scope:

	<spectrum-colorpicker ng-model="someModel"></spectrum-colorpicker>


Dependencies
------------

 * [JQuery](http://jquery.com/)
 * [AngularJs](http://angularjs.org/)
 * [Spectrum](http://bgrins.github.io/spectrum/)


Usage
-----

1. Include dependencies

		jquery.min.js
		angular.min.js
		spectrum.css
		spectrum.js
		angular-spectrum-colorpicker.min.js

2. Add angular spectrum colorpicker module to your angular app

		angular.module('yourFancyApp', ['angularSpectrumColorpicker']);

3. Use the directive whereever you want

		<spectrum-colorpicker ng-model="yourFancyModel"></spectrum-colorpicker>

4. Customize colorpicker with spectrum params via the options attribute:

		<spectrum-colorpicker ng-model="yourFancyModel" options="{showInput: true, showAlpha: true"></spectrum-colorpicker>

	All valid options: [http://bgrins.github.io/spectrum/#options](http://bgrins.github.io/spectrum/#options)


Initialize the source project
-----------------------------

	bower install
	npm install


Start demo & test environment
-----------------------------

	./node_modules/protractor/bin/webdriver-manager update --standalone
{'fraction_non_alphanumeric': 0.16964285714285715, 'fraction_numerical': 0.0033482142857142855, 'mean_word_length': 4.121428571428571, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 16, 'https://': 4, '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': '6970073', 'n_tokens_mistral': 1105, 'n_tokens_neox': 997, 'n_words': 242}