Last active
May 7, 2017 12:51
-
-
Save neilcummings/32eb3f3c94b46c8031c5720bb2994664 to your computer and use it in GitHub Desktop.
SharePointAddinAngular - app.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { NgModule } from '@angular/core'; | |
import { BrowserModule } from '@angular/platform-browser'; | |
import { AppComponent } from './app.component'; | |
import { APP_BASE_HREF } from '@angular/common'; | |
@NgModule({ | |
imports: [ | |
BrowserModule | |
], | |
declarations: [ | |
AppComponent | |
], | |
providers: [ | |
{ | |
provide: APP_BASE_HREF, useValue: '/' | |
} | |
], | |
bootstrap: [AppComponent] | |
}) | |
export class AppModule { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment