adding truncation module to angular