I am trying to replace any spaces in my input on change. I am using ng-change directive to accomplish that. I would normally write my code like this because I w
ng-change