your recipe card header background

    Angular Module

    0

    1

    Jose Romero

    Angular TypeScript Recipes

    The NgModule hooks into the @NgModule decorator of other modules, and exports an object with the following properties:

    imports: Array of other modules' names

    exports: Array of other modules' exports

    declarations: An object with the names of all components declared in this module

    providers: An object with the names of all services that are available in this module

    Library: angular

    Shortcut: angular.module

    import { NgModule } from '@angular/core';
    
    @NgModule({
      imports: [],
      exports: [],
      declarations: [NameComponent],
      providers: [],
    })
    export class NameModule { }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.