Skip to content

Instantly share code, notes, and snippets.

@neilcummings
Last active May 7, 2017 12:51
Show Gist options
  • Save neilcummings/32eb3f3c94b46c8031c5720bb2994664 to your computer and use it in GitHub Desktop.
Save neilcummings/32eb3f3c94b46c8031c5720bb2994664 to your computer and use it in GitHub Desktop.
SharePointAddinAngular - app.module.ts
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