Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit f92aecd

Browse files
committed
Merge pull request #374 from kenning/patch-1
docs(README): fix spelling error in readme
2 parents e40d894 + f2bf47b commit f92aecd

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
@@ -52,8 +52,8 @@ Apply the directive to your form elements:
5252
* `ui-sortable` element should only contain one `ng-repeat` and not any other elements (above or below).
5353
Otherwise the index matching of the generated DOM elements and the `ng-model`'s items will break.
5454
**In other words: The items of `ng-model` must match the indexes of the generated DOM elements.**
55-
* [`Filters`](https://docs.angularjs.org/guide/filter) that manipulate the model (like [filter](https://docs.angularjs.org/api/ng/filter/filter), [orderBy](https://docs.angularjs.org/api/ng/filter/orderBy), [limitTo](https://docs.angularjs.org/api/ng/filter/limitTo),...) should be applied in the `controller` instead of the `ng-repeat` (refer to [the provided exaples](#examples)).
56-
This is the prefered way since it:
55+
* [`Filters`](https://docs.angularjs.org/guide/filter) that manipulate the model (like [filter](https://docs.angularjs.org/api/ng/filter/filter), [orderBy](https://docs.angularjs.org/api/ng/filter/orderBy), [limitTo](https://docs.angularjs.org/api/ng/filter/limitTo),...) should be applied in the `controller` instead of the `ng-repeat` (refer to [the provided examples](#examples)).
56+
This is the preferred way since it:
5757
- is performance wise better
5858
- reduces the chance of code duplication
5959
- [is suggested by the angularJS team](https://www.youtube.com/watch?feature=player_detailpage&v=ZhfUv0spHCY#t=3048)

0 commit comments

Comments
 (0)