angular/packages/examples/core/main.ts
Shuaib Hasan Akib 450a38b072 refactor(common): sync examples with Angular style guide (#64167)
Updated examples to align with the latest Angular style:
- Removed `standalone: false` since it is unnecessary.
- Dropped module-based implementation in favor of standalone.

PR Close #64167
2025-10-13 08:29:44 -07:00

29 lines
904 B
TypeScript

/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import 'zone.js';
import 'zone.js/plugins/task-tracking';
// okd
import {bootstrapApplication, provideProtractorTestingSupport} from '@angular/platform-browser';
import {routes, TestsAppComponent} from './test_app_component';
import {ApplicationConfig, provideZoneChangeDetection} from '@angular/core';
import {provideRouter} from '@angular/router';
import {provideAnimations} from '@angular/platform-browser/animations';
const appConfig: ApplicationConfig = {
providers: [
provideRouter(routes),
provideAnimations(),
provideZoneChangeDetection(),
provideProtractorTestingSupport(),
],
};
bootstrapApplication(TestsAppComponent, appConfig).catch((err) => console.error(err));