possessive filter for angular.js Adds an apostrophe+s or apostrophe when needed to proper nouns. produces something like: Greg's or Charles'
Include the file:
<script src="/.../possessive.js"></script>
Import it to the angular applicaiton:
angular.module('myApp', ['filter.possessive']);
Use it in the view:
<span>{{ Greg | possessive}} thing </span>
<span>{{ Charles | possessive}} thing </span>