Is there an angular specific way? If not, should I use the built in jquery to do it? If I should use the built in jquery how do I get to the trim() function without using $ (or is that necessary)?
Edit - Yes I know about str.trim(). Sorry. I need this to work in IE 8
Edit - As far as this question being a duplicate, I am asking specifically how to do this in angular where the answer referenced explains how to do it in javascript, node and jquery. Is there a way to do it using the built in jquery in angular?
Edit - Apparently the answer is "AngularJS doesn't do this"