new line /n in angular 8 code example Example: angular {{}} new line <p style="white-space: pre-wrap">{{alert.message}}</p>