4646 - [ repeat] ( #repeat )
4747 - [ reverse] ( #reverse-1 )
4848 - [ slugify] ( #slugify )
49+ - [ latinize] ( #latinize )
4950 - [ startsWith] ( #startswith )
5051 - [ stripTags] ( #striptags )
5152 - [ stringular] ( #stringular )
@@ -104,7 +105,7 @@ When you're done, your setup should look similar to the following:
104105<!doctype html>
105106<html ng-app =" myApp" >
106107<head >
107-
108+
108109</head >
109110<body >
110111 ...
@@ -223,7 +224,7 @@ Return users whose first name or last name is 'John' (uses nested properties).
223224-->
224225
225226```
226- Return users whose full name is
227+ Return users whose full name is
227228``` html
228229<!-- search by full name -->
229230<th ng-repeat =" user in users | filterBy: ['user.first_name + user.last_name']: 'Rob Joh'" >
@@ -335,7 +336,7 @@ If you pass shallow, the array will only be flattened a single level<br/>
335336$scope.weirdArray = [[], 1, 2, 3, [4, 5, 6, [7, 8, 9, [10, 11, [12, [[[[[13], [[[[14, 15]]]]]]]]]]]]];
336337```
337338```html
338- <th ng-repeat="elm in wierdArray | flatten">
339+ <th ng-repeat="elm in wierdArray | flatten">
339340 {{ elm }},
340341</th>
341342<!-- result:
@@ -480,7 +481,7 @@ $scope.fallback = {
480481```html
481482<li ng-repeat="order in orders | defaults: fallback">
482483 <b>id:</b> {{ order.id }},
483- <b>name:</b> {{ order.name }},
484+ <b>name:</b> {{ order.name }},
484485 <b>shipping address:</b> {{ order.destination.zip }}
485486</li>
486487<!-- Results:
@@ -849,16 +850,16 @@ $scope.users2 = [
849850<th ng-repeat="user in users1 | xor: users2">
850851 {{ user.id }}
851852</th>
852- <!-- result:
853+ <!-- result:
8538541 2 3 4 5
854855-->
855856<th ng-repeat =" user in users1 | xor: users2: 'details.last_name'" >
856857 {{ user.id }}, {{ user.details.first_name }} {{ user.details.last_name }}
857858</th >
858- <!-- result:
859+ <!-- result:
8598602, foo bag
860861```
861- ###toArray
862+ ###toArray
862863Convert objects into stable arrays. <br/>
863864**Usage:** ```object | toArray: addKey[optional]```<br/>
864865if addKey set to true, the filter also attaches a new property $key to the value containing the original key that was used in the object we are iterating over to reference the property
@@ -880,7 +881,7 @@ $scope.divide = function(elm) {
880881<th ng-repeat="i in [1, 2, 3, 4, 5] | map: divide">
881882 {{ i }}
882883</th>
883- <!-- result:
884+ <!-- result:
8848850.5, 1, 1.5, 2, 2.5
885886```
886887###pluck
@@ -945,6 +946,17 @@ result:
945946<a ng-href="http://domain.com/fetch/some=string=with=spaces">Link</a>
946947-->
947948```
949+
950+ ###latinize
951+ Remove accents/diacritics from a string
952+
953+ ``` html
954+ {{ 'Sòme strÏng with Âccénts' | latinize }}
955+ <!--
956+ result:
957+ Some strIng with Accents
958+ -->
959+ ```
948960###startsWith
949961return whether string starts with the starts parameter.<br />
950962usage: ``` string | startsWith: 'start': case-sensitive[optional] ``` <br />
@@ -1071,8 +1083,8 @@ foo-foo-foo
10711083#Math
10721084
10731085###max
1074- max find and return the largest number in a given array.
1075- if an `expression` is provided, will return max value by expression.
1086+ max find and return the largest number in a given array.
1087+ if an `expression` is provided, will return max value by expression.
10761088**Usage:** ```array | max: expression[optional]```
10771089```js
10781090$scope.users = [
@@ -1092,8 +1104,8 @@ result:
10921104```
10931105
10941106###min
1095- min find and return the lowest number in a given array.
1096- if an `expression` is provided, will return min value by expression.
1107+ min find and return the lowest number in a given array.
1108+ if an `expression` is provided, will return min value by expression.
10971109**Usage:** ```array | min: expression[optional]```
10981110```js
10991111$scope.users = [
0 commit comments