diff --git a/README.md b/README.md index 5ec8f01e3..3bf1b3ee9 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,51 @@ AngularJS-native version of [Select2](http://ivaynberg.github.io/select2/) and [ For the roadmap, check [issue #3](https://github.com/angular-ui/ui-select/issues/3) and the [Wiki page](https://github.com/angular-ui/ui-select/wiki/Roadmap). +## Install + +You can install this package either with `npm` or with `bower`. + +### npm + +[npm registry here](https://www.npmjs.com/package/ui-select). + +```shell +npm install ui-select +``` + +Add to your `index.html`: + +```html + + +``` + +Then add `ui.select` as a dependency for your app: + +```javascript +angular.module('myApp', ['ui.select']); +``` + +### bower + +```shell +bower install angular-ui-select +``` + +Add to your `index.html`: + +```html + + +``` + +Then add `ui.select` as a dependency for your app: + +```javascript +angular.module('myApp', ['ui.select']); +``` + + ## Development ### Prepare your environment