|
17 | 17 |
|
18 | 18 | <link rel="stylesheet" href="/css/int-bundle.css" /> |
19 | 19 |
|
20 | | - <link rel="stylesheet" href="/js/ng/styles.css" /> |
21 | | - <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" /> |
| 20 | + @if (ViewBag.LoadAngular == true) |
| 21 | + { |
| 22 | + <link rel="stylesheet" href="/js/ng/styles.css" /> |
| 23 | + <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" /> |
| 24 | + } |
22 | 25 |
|
23 | 26 | <link rel="shortcut icon" href="~/favicon.ico" /> |
24 | 27 | <link rel="apple-touch-icon" sizes="180x180" href="~/images/apple-touch-icon.png"> |
|
127 | 130 | localStorage.setItem("RgWebApp.auth-tokens", '@Html.Raw(await JavasriptHelpers.GetApiToken())'); |
128 | 131 | </script> |
129 | 132 |
|
130 | | - <environment names="Release,Staging,Production,Docker"> |
131 | | - <script src="/js/ng/app.js"></script> |
132 | | - </environment> |
133 | | - |
134 | | - <environment names="Development"> |
135 | | - <script src="/js/ng/runtime.js" asp-append-version="false"></script> |
136 | | - <script src="/js/ng/polyfills.js" asp-append-version="false"></script> |
137 | | - <script src="/js/ng/vendor.js" asp-append-version="false"></script> |
138 | | - <script src="/js/ng/main.js" asp-append-version="false"></script> |
139 | | - </environment> |
| 133 | + @if (ViewBag.LoadAngular == true) |
| 134 | + { |
| 135 | + <environment names="Release,Staging,Production,Docker"> |
| 136 | + <script src="/js/ng/app.js"></script> |
| 137 | + </environment> |
| 138 | + |
| 139 | + <environment names="Development"> |
| 140 | + <script src="/js/ng/runtime.js" asp-append-version="false"></script> |
| 141 | + <script src="/js/ng/polyfills.js" asp-append-version="false"></script> |
| 142 | + <script src="/js/ng/vendor.js" asp-append-version="false"></script> |
| 143 | + <script src="/js/ng/main.js" asp-append-version="false"></script> |
| 144 | + </environment> |
| 145 | + } |
140 | 146 |
|
141 | 147 | @if (IsSectionDefined("Scripts")) |
142 | 148 | { |
|
0 commit comments