function windowFactory(platformId) {
    if (_angular_common.isPlatformBrowser(platformId)) {
        return window;
    }
    // Provide undefined to get the error when trying to access the window as it
    // shouldn't be used outside the browser. Those who need to provide something
    // instead of window (e.g. domino window when running in node) could override
    // NB_WINDOW token.
    return undefined;
}
/**
 * @license
 * Copyright Akveo. All Rights Reserved.
 * Licensed under the MIT License. See License.txt in the project root for license information.
 */
@license
Copyright Akveo. All Rights Reserved.
Licensed under the MIT License. See License.txt in the project root for license information.
@license Copyright Akveo . All Rights Reserved . Licensed under the MIT License . See License . txt in the project root for license information .
function windowFactory(platformId) {
    if (_angular_common.isPlatformBrowser(platformId)) {
        return window;
    }
    return undefined;
}
function windowFactory ( platformId ) { if ( _angular_common . isPlatformBrowser ( platformId ) ) { return window ; } return undefined ; }
@license
 Copyright Akveo.
@license Copyright Akveo .
// Provide undefined to get the error when trying to access the window as it // shouldn't be used outside the browser. Those who need to provide something // instead of window (e.g. domino window when running in node) could override // NB_WINDOW token.