Angular Filter for truncating a string