In this example, we have an array named people with names.
Ng pluralize directive is useful when we need to give description based on the count for example if one like on facebook then for count 1 we need to show that One person like this. In the same way in this example for the count 0 it will show that Nobody is viewing for count 1 it will show name of the first person ie Messi is viewing.
In this example if you click on the like button icon then for first like the
ng-pluralize directive will show that you likes and for two likes it will show You and Messi likes and for more than 3 like it will show You and name of two persons and for the rest it will simply show count.
In this example we have a dropdown with the values from 0 to 3. If user select 0 then
ng-pluralize directive will show No room available for count 1 it will show One room available and so on.