Closes #245 by adding ng-trim='false' to the input