You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
As the new @NgModule decorator is the new way to organize dependencies, angular2-google-maps should support it und ship useful modules.
The text was updated successfully, but these errors were encountered: