My immediate guess would be your use of jQuery and semantic-ui to do the modal in the way you are. As a measure of best practice, you should never be selecting a UI element like that in a controller. Modifying the UI should be done in a directive. You can write your own to do this, which is a good way to learn if you haven't written many directives on your own. In addition, with a quick search, there is someone working on a set of directives to integrate with semantic-ui on github<https://github.com/caitp/angular-semantic>. I have not even glanced at the code, just that they say they are working on what you would need. That would be up to you to investigate further. If you'd like to write your own, there is plenty of help on here that can be given.
Alternatively, you can look at Angular UI <http://angular-ui.github.io/>, which is a suite of codes to give help on the UI. They have directives that work with Bootstraps modal window as well (to give you a prewritten directive as opposed to writing your own). On Monday, January 27, 2014 9:11:50 AM UTC-5, Ladislav Vondráček wrote: > > I used to use "<div ng-bind-html='code'></div>' in modal window, but it > seems not work anymore. > > See my demo: http://jsfiddle.net/e2VAw/ > > How to do it? > -- 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.
