title: How to remove the beginning/ending spaces in ionic 2
body: <p>Is there possible/easy solution to remove spaces from the beginning/ending of the input field</p>
  
  <p>For example, let assume * is space and user entered "***Word*", so how can I check and save the word without the spaces ?</p>