@switch (angularStatus()) { @case (AngularStatus.EXISTS) { @if (angularIsInDevMode()) { @if (supportedVersion()) {
} @else {
upgrade

Angular DevTools only supports Angular versions {{ LAST_SUPPORTED_VERSION }} and above.

} } @else {
code_off

We detected an application built with a production configuration. Angular DevTools only supports development builds.

If this application was built in development mode, please check if the `window.ng` global object is available in your application. If it is missing, then something is preventing Angular from running in development mode properly.

- Are you calling `enableProdMode()` in your application? Read more about enableProdMode() on angular.dev.
- Is `"optimization": true` set in your angular.json? Read more about optimization configuration on angular.dev.
- Is `"defaultConfiguration": "production"` set in your angular.json? Read more about default configurations on angular.dev.

If you are still experiencing problems, you can open an issue with a reproduction on our issue tracker.

} } @case (AngularStatus.DOES_NOT_EXIST) {
error

Angular application not detected.

} @case (AngularStatus.UNKNOWN) {
} }