Want to submit form dynamically though scope variable.But it is not working. Even, simple example as below that alert is also not executing.
$scope.sctext = $sce.trustAsHtml('<div>text<script type="javascript">alert('working'); other scripts</script></div>');
Html:
<div>{{sctext}}</div>
Is it possible to execute javascript & html like above?