2016-08-12 23:52:55 +00:00
|
|
|
/**
|
|
|
|
|
* @license
|
2020-05-19 19:08:49 +00:00
|
|
|
* Copyright Google LLC All Rights Reserved.
|
2016-08-12 23:52:55 +00:00
|
|
|
*
|
|
|
|
|
* Use of this source code is governed by an MIT-style license that can be
|
2024-09-20 15:23:15 +00:00
|
|
|
* found in the LICENSE file at https://angular.dev/license
|
2016-08-12 23:52:55 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
import {NgModule} from '@angular/core';
|
2022-02-17 06:17:59 +00:00
|
|
|
|
2017-08-17 09:40:46 +00:00
|
|
|
import {COMMON_DIRECTIVES} from './directives/index';
|
2016-09-09 19:05:06 +00:00
|
|
|
import {COMMON_PIPES} from './pipes/index';
|
2016-08-12 23:52:55 +00:00
|
|
|
|
|
|
|
|
// Note: This does not contain the location providers,
|
|
|
|
|
// as they need some platform specific implementations to work.
|
|
|
|
|
/**
|
2018-08-22 15:52:19 +00:00
|
|
|
* Exports all the basic Angular directives and pipes,
|
|
|
|
|
* such as `NgIf`, `NgForOf`, `DecimalPipe`, and so on.
|
|
|
|
|
* Re-exported by `BrowserModule`, which is included automatically in the root
|
|
|
|
|
* `AppModule` when you create a new app with the CLI `new` command.
|
2016-08-12 23:52:55 +00:00
|
|
|
*
|
2018-10-19 14:06:08 +00:00
|
|
|
* @publicApi
|
2016-08-12 23:52:55 +00:00
|
|
|
*/
|
|
|
|
|
@NgModule({
|
2022-06-23 05:53:56 +00:00
|
|
|
imports: [COMMON_DIRECTIVES, COMMON_PIPES],
|
2016-08-12 23:52:55 +00:00
|
|
|
exports: [COMMON_DIRECTIVES, COMMON_PIPES],
|
|
|
|
|
})
|
|
|
|
|
export class CommonModule {}
|