I want to render template files (view + controller) and multiple html strings both together in a single tag. - So I have some strings like
<p>some text</p>
and html files + controller like
template.html + template.controller.js
I want to render the strings and the template.html into one tag.
I already connected the html strings and I'm able to render these with
<div ng-bind-html="template" ..></div>
Can I serialize the html files and render it in ng-bind-html too? These files have own controllers:
<div ng-controller="sampleCtrl">
They would lose functionality?
NOTE: The order of the elements is important!!! For example, I want to render the string, then the content of the file and then again a string.
Thanks a lot!