Concatenate scope variable with html string


#1

I have the need to concatenate a scope variable with a html text string within a controller and don’t know how to do it. I have a scope variable that does get successfully passed to the controller.

“Left side of html markup text " scope variable text goes here " right side of html markup text”

I’ve left off the html markup


#2

Lookup ng-bind-html


#3

or you just need it like this {{sample.scope}}