added base to ng-include

This commit is contained in:
Bálint Szekeres
2019-11-19 21:14:57 +01:00
parent 38ede7305c
commit 8bbcc94077
6 changed files with 30 additions and 30 deletions

View File

@@ -18,7 +18,7 @@
</head>
<body>
<div class="do-app">
<div id="app" ng-app="NginxConfigIoApp" ng-controller="NginxConfigIoController" ng-class="['layout-' + layout]" ng-include="'partials/index.html'" onload="init()" ng-csp></div>
<div id="app" ng-app="NginxConfigIoApp" ng-controller="NginxConfigIoController" ng-init="base = '/'" ng-class="['layout-' + layout]" ng-include="base + 'partials/index.html'" onload="init()" ng-csp></div>
</div>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-3084378-31"></script>
<script>