hi, I have a question about AngularJS and Umbraco 9. We are trying to use the preview like https://24days.in/umbraco-cms/2021/advanced-blocklist-editor/ and it works except that javascript isn't executed if the partial is loaded with AngularJs, but we can load scripts using a different way but then the document.queryselector isn't finding the newly added elements. Is there a way to fix this? Is now using ng-html-bind but ng-html-bind-unsafe isn't working. Any way to fix this?
AngularJS - ng-html-bind
hi, I have a question about AngularJS and Umbraco 9. We are trying to use the preview like https://24days.in/umbraco-cms/2021/advanced-blocklist-editor/ and it works except that javascript isn't executed if the partial is loaded with AngularJs, but we can load scripts using a different way but then the document.queryselector isn't finding the newly added elements. Is there a way to fix this? Is now using ng-html-bind but ng-html-bind-unsafe isn't working. Any way to fix this?
Hey Johan, did you find a way to get this working?
we changed the logic to load an element using iframes. My angular skills are not that great so this was the quick fix.
You will need to write your own custom view plugin in order to do this.
is working on a reply...