Skip to content

Commit bf03858

Browse files
author
ruhley
committed
Update README.md
1 parent 977e693 commit bf03858

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,20 @@ angular-colour-picker
33

44
AngularJS Colour Picker Directive
55

6+
Installation
7+
=====
8+
* Include the js and css files.
9+
* Add the module line
10+
```javascript
11+
angular.module('app', [
12+
'color-picker'
13+
]);
14+
```
15+
* Include in your view
16+
```javascript
17+
<color-picker ng-model="myColor"></color-picker>
18+
```
19+
620

721
Inspiration and code taken from projects like
822
* http://kaihenzler.github.io/angular-minicolors/

0 commit comments

Comments
 (0)