diff --git a/README.md b/README.md index 9dd8c77bf..8610ed2f9 100644 --- a/README.md +++ b/README.md @@ -3,19 +3,14 @@ ui-select [![Build Status](https://travis-ci.org/angular-ui/ui-select.png)](http A native version of select2. -Requires ui.keypress from ui-utils - - ### Prototype usage: ```html - -
  • -

    {{item.title}}

    -
  • + + {{$select.selected.name}} + +
    +
    {{item.email}}
    +
    ``` diff --git a/bower.json b/bower.json index 1846e1bb4..7bb89f14a 100644 --- a/bower.json +++ b/bower.json @@ -16,8 +16,8 @@ "tests" ], "dependencies": { - "angular": "~1.0.8", - "angular-mocks": "~1.0.8", + "angular": "~1.2.0", + "angular-mocks": "~1.2.0", "jquery": "~2.0.3" } } diff --git a/demo/demo.js b/demo/demo.js index 3d0eb85a0..2920c4871 100644 --- a/demo/demo.js +++ b/demo/demo.js @@ -1,4 +1,10 @@ angular.module('DemoApp', ['ui.select']) + + .config(function(uiSelectConfig){ + // uiSelectConfig.defaultTheme = 'select2'; + // uiSelectConfig.defaultTheme = 'selectize'; + }) + .controller('MainCtrl', ['$scope', function ($scope) { $scope.data = {}; diff --git a/demo/index.html b/demo/index.html index 514b1d6df..a9d4b1815 100644 --- a/demo/index.html +++ b/demo/index.html @@ -4,16 +4,20 @@ Angular ui-select - + - - - - - + + + + + + + + +