In my function, I call an opening of a modal and the template of this modal is a PHP file.
In that file, I have a div element which has the value of {{msg_text}}
.
In my js file I set $scope.msg_text
so that when the modal is opened, it shows the value that I set in the js
.
This works fine but I am trying to add line breaks/paragraphs but it's just printing out the text instead of adding the spaces
How do I go about adding a break in between paragraphs by passing in a string?