angularjs: how to handle a popup with a directive so that data comes from controller model
问题 Suppose I have this tag in a template URL, into which HTML coming from the model is injected (HTML is basically <li> bullet points): <div ng-bind-html="accident.description.impact"></div> A portion of the model is as follows: "cause": "<ul>\n\ <li>\n\ <div><span inline-popover \n\ popover-html=\"Taper pour ouvrir la vue détaillée\" \n\ popover-placement=\"bottom\" \n\ popover-label=\"Larve de taupin\">Larve de taupin</span></div>\n\ </li>\n\ <li>Semences en cours de germination</li>\n\ </ul>"