feat(trim): Publish trim() to external API

I've found myself placing this function in $rootScope as it's used so frequently.  Would be nice to simply expose it as part of the angular API.

I've submitted a Pull Request (and signed CLA) if you all agree