Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(*): support @NgModule #571

Closed
wants to merge 1 commit into from
Closed

feat(*): support @NgModule #571

wants to merge 1 commit into from

Commits on Aug 15, 2016

  1. feat(*): support @NgModule

    This adds a new NgModule to the project. The Module name for the
    core package is `AgmCoreModule`. This feature is experimental.
    
    Example:
    
    ```typescript
    import { NgModule } from '@angular/core';
    import { BrowserModule } from '@angular/platform-browser';
    import { platformBrowserDynamic } from
    '@angular/platform-browser-dynamic';
    import { MyMapsProjectAppComponent } from './app/';
    
    import {AgmCoreModule} from 'angular2-google-maps/core';
    
    @NgModule({
    	  imports: [BrowserModule, AgmCoreModule.forRoot()],
    		declarations: [MyMapsProjectAppComponent],
    	  bootstrap: [MyMapsProjectAppComponent]
    })
    export class AppModule {
    }
    
    platformBrowserDynamic().bootstrapModule(AppModule);
    ```
    
    Closes #560
    sebholstein committed Aug 15, 2016
    Configuration menu
    Copy the full SHA
    7186aea View commit details
    Browse the repository at this point in the history