Skip to content
This repository has been archived by the owner on Aug 29, 2021. It is now read-only.

Commit

Permalink
Updated the example code
Browse files Browse the repository at this point in the history
Placed the ng-repeat on the kb-item elements like it should, closes #7

Special thanks to @mpolichette
  • Loading branch information
bfanger committed Feb 27, 2015
1 parent 5ec31f9 commit 8e036bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ A `kb-item` in a `kb-list` can selected using the arrow keys and by clicking on
#### Example

```html
<div kb-list ng-model="selectedItem" ng-repeat="item in items">
<div kb-item="item">{{item.title}}</div>
<div kb-list ng-model="vm.selected">
<div ng-repeat="item in items" kb-item="item">{{item.title}}</div>
</div>
```

Expand All @@ -69,8 +69,8 @@ A `kb-item` in a `kb-select` can activated using the arrow keys but is selected
#### Example

```html
<div kb-select ng-model="selectedItem" ng-repeat="item in items">
<div kb-item="item">{{item.title}}</div>
<div kb-select ng-model="vm.selected">
<div ng-repeat="item in items" kb-item="item">{{item.title}}</div>
</div>
```

Expand Down

0 comments on commit 8e036bb

Please sign in to comment.