Show a appery variable {{item.text}} as html
-
- Posts: 150
- Joined: Tue Aug 27, 2013 1:47 pm
Show a appery variable {{item.text}} as html
Hello Elvin,
Please use ng-bind attribute for that: https://docs.angularjs.org/api/ng/dir...
-
- Posts: 0
- Joined: Mon Mar 18, 2013 8:48 am
Show a appery variable {{item.text}} as html
Hi Elvin - Does it works for you?
Show a appery variable {{item.text}} as html
Hello;
Am facing the same problem, what are we supposed to input next to the ng-bind-html is that {{xxx.xxx}} or what ?
-
- Posts: 150
- Joined: Tue Aug 27, 2013 1:47 pm
Show a appery variable {{item.text}} as html
Hello,
No, please use there a $scope variable here, e.g.: pre$scope.myVariable = "google";/pre and use this variable in your ng-bind-html property: preng-bind-html=myVariable/pre
Show a appery variable {{item.text}} as html
Thanks Sergiy, must mention that in ionic it is working without $scope !! as for bootstrap it is not. I will use it and test it. Thanks
-
- Posts: 2
- Joined: Tue Feb 22, 2022 5:59 pm
Re: Show a appery variable {{item.text}} as html
I know this thread is 6 years old, but it is exactly what i am trying to accomplish.
Can someone spell out how i am supposed the get my calendar imbedd html (iframe) in my {{calendar}} variable to actually render? If i paste the html straight into the html element it renders fine, but if i use a variable it only shows the text.
I have tried applying a number of attributes with little luck.