angular / 5.2.11 / api / upgrade / static / setangularjsglobal.html /

setAngularJSGlobal

function

npm Package @angular/upgrade
Module import { setAngularJSGlobal } from '@angular/upgrade/static';
Source upgrade/src/common/angular1.ts

function setAngularJSGlobal(ng: any): void;

Description

Resets the AngularJS global.

Used when AngularJS is loaded lazily, and not available on window.

© 2010–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v5.angular.io/api/upgrade/static/setAngularJSGlobal