Skip to content

Commit 35974cf

Browse files
committed
Merge pull request angular-ui#130 from bkad/patch-1
Fix a couple readme typos
2 parents 3e64335 + ac9239d commit 35974cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# UI.Sortable directive [![Build Status](https://travis-ci.org/angular-ui/ui-sortable.png)](https://travis-ci.org/angular-ui/ui-sortable)
22

3-
This directive allows you to sort array with drag & drop.
3+
This directive allows you to sort an array with drag & drop.
44

55
## Requirements
66

@@ -34,7 +34,7 @@ Apply the directive to your form elements:
3434
* `ng-model` is required, so that the directive knows which model to update.
3535
* `ui-sortable` element should only contain one `ng-repeat` and not any other elements (above or below).
3636
Otherwise the index matching of the generated DOM elements and the `ng-model`'s items will break.
37-
**In other words: The items of `ng-model` must match the indexes of the genretated DOM elements.**
37+
**In other words: The items of `ng-model` must match the indexes of the generated DOM elements.**
3838
* `ui-sortable` lists containing many 'types' of items can be implemented by using [dynamic template loading with ng-include](http://stackoverflow.com/questions/14607879/angularjs-load-dynamic-template-html-within-directive/14621927#14621927), to determine how each model item should be rendered.
3939

4040
### Options

0 commit comments

Comments
 (0)