angular / 4.4.6 / api / upgrade / static / setangularlib.html /

setAngularLib

function

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

function setAngularLib(ng: any): void;

Description

Resets the AngularJS library.

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

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v4.angular.io/api/upgrade/static/setAngularLib