angular/angular.js — pull request #1303 by grevory (2012-08-28 04:27:54+00:00)
Title: Disable trim an option for form fields using ng-model

Using AngularJS today I found myself needing that extra whitespace at the end of the value of an input field.

I added a couple lines for optionally disabling the trim that occurs by default with ng-model.

Now {{foo}} will include a space at the end when you enter "bar ".

Without that attribute, "ng-trim", the value will be trimmed same as normal.