Angular JS filter for word capitalisation