Allow whitespace in title

I tried to add a title that contains whitespaces and it threw an error that it found an unexpected token when it tried to $parse() the title name, to fix this i replace the whitespace with underscores for the $parse() service while retaining the original title name for the table column title.