I have generated dynamic content in an
<input type="text" ng-model="pagedata.name?"> and a button that is used to process the data entered. Where ‘pagedata.name?’ varies depending on the form being generated. I build this up by basically creating the html, the $sce.trustAsHtml(html), and the $compile directive. All good at this point, the button works and the page works as if I had hard-coded it in the html template.