I am encountering an issue when attempting to print the content of an object. Some of the properties within the object contain
tags, making it challenging to create new elements in JavaScript without knowing which properties will include these tags. However, the content is not rendering properly in my browser. It seems like I may be overlooking a straightforward concept here... An example is given below:
JSFiddle: http://jsfiddle.net/tvzgypd6/3/
Here is a sample object illustration that is not displaying correctly when using ng-repeat in Angular:
$scope.objs = [
{a : 'test 1 <br> test 1'},
{a : 'test 2 '},
{a : 'test 3'},
{a : "test 4 \n test 4"},
{a : 'test 5 \n test 5'},
]