Needed to use ng-bind-html directive. I created a plunkr that has the code that I'm using, but it doesn't seem to work on Plunkr. If anyone wants to figure that out, go ahead, but otherwise I am working fine now.
http://plnkr.co/edit/93Dti7AhxV8kunKOredW?p=preview On Monday, March 3, 2014 10:52:14 AM UTC-5, Sean Amoroso wrote: > > This is probably basic for most but I am new to this. I am just creating > a simple drop down directive. I want the ability to add menu items as text > or angular code, including html. I assume I need to compile it somehow but > I went down that route and had same result. > > http://plnkr.co/edit/1ocUGkQPwGJDIEw9Ewic > > If you click options, you will see the <img src> tag as an option instead > of the compiled/formatted HTML. How can I go about fixing this? > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/groups/opt_out.
