Skip to content
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

28 lines (21 sloc) 793 Bytes
// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See full license in root of repo.
This file bootstraps the root module: AppModule.
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app.module';
function launch() {
const platform = platformBrowserDynamic();
if (window.hasOwnProperty('Office') && window.hasOwnProperty('Word')) {
// Application-specific initialization code goes into a function that is
// assigned to the Office.initialize event and runs after the Office.js initializes.
// Bootstrapping of the AppModule must come AFTER Office has initialized.
Office.initialize = reason => {
else {
You can’t perform that action at this time.