AngularJS Item Trimming

**DON'T MERGE**

I would like to keep this PR dangling until AngularJS 1.2 is out or `ng-trim` gets backported to the stable AngularJS version line. This fixes the trimming issue described in #635 and includes one fix in `ngRepeat` needed to work with 1.1. I don't think it's worth including crazy hacks to make this work with the current stable release.