I'm trying to call for a Twig template _template
from a Twig template, particularly from within AngularJS <script type="text/javascript"></scirpt>
tags. A console log says, that the file was not found on the server with status of 404. Using {% include '' %}
or {% embed '' %}
interferes with AngularJS somehow. Does any way around exists to access that Twig template, without breaching the security?
Troubleshooting part of js:
$mdDialog.show({
templateUrl: '_template',
})