I want to display the static content from js and also an image in it
content = {
message: "The best city in the world?"
answer:" Paris is one of the best city.'<img src ='assets/paris.gif alt="Smiley face" height="42" width="42">'".
}
My Html,
ng-bind-html= content.answer
When i run my code,it says the error
Uncaught SyntaxError: Unexpected identifier
This is what i have tried.Can anyone find my error.Thanks.
'The best city in the world?'and the same in the other string? Next - read this