Support new line encoding for Windows and Macintosh in Angular-template