A platform combines multiple tutorials, projects, documentations, questions and answers for developers
  • Home (current)
  • Documentations
  • About
  • Login
  1. Home
  2. Documentations
  3. Angular 6
  4. setAngularLib

setAngularLib

function deprecated

Deprecated: Use setAngularJSGlobal instead.

setAngularLib(ng: any): void

Deprecated Use setAngularJSGlobal instead.

Parameters

ng

Type: any.

Returns

void

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

Guide
Anatomy of the Setup Project
Angular Elements Overview
Angular Language Service
Angular Universal: server-side rendering
Angular service worker introduction
Angular versioning and releases
AngularJS to Angular Concepts: Quick Reference
Animations transitions and triggers
Architecture overview
Attribute Directives
Authors Style Guide
Bootstrapping
Browser support
Change Log
Cheat Sheet
Complex animation sequences
Component Interaction
Component Styles
Dependency Injection in Action
Dependency Injection in Angular
Dependency Providers
Deployment
Displaying Data
Dynamic Component Loader
Dynamic Forms
Entry Components
Feature Modules
Form Validation
Forms
Frequently Used Modules
Getting Started
Getting started with service workers
Glossary
Hierarchical Dependency Injectors
HttpClient
Internationalization (i18n)
Introduction to Angular animations
Introduction to components
Introduction to forms in Angular
Introduction to modules
Introduction to services and dependency injection
JavaScript Modules vs. NgModules
Lazy Loading Feature Modules
Lifecycle Hooks
Navigate the component tree with DI
Next steps: tools and techniques
NgModule API
NgModule FAQs
NgModules
Npm Packages
Observables
Observables compared to other techniques
Observables in Angular
Pipes
Practical observable usage
Providers
Reactive Forms
Reusable animations
Route transition animations
Routing & Navigation
Security
Service worker communication
Service worker configuration
Service worker in production
Setup for local development
Sharing Modules
Singleton services
Structural Directives
Style Guide
Template Syntax
Testing
The Ahead-of-Time (AOT) compiler
The RxJS library
TypeScript Configuration
Types of Feature Modules
Updating your Angular projects
Upgrading for Performance
Upgrading from AngularJS to Angular
User Input
Visual Studio 2015 QuickStart
Tutorial
0. The Application Shell
1. The Hero Editor
2. Display a Heroes List
3. Master/Detail Components
4. Services
5. Routing
6. HTTP
Tutorial: Tour of Heroes
animations
@angular/animations
@angular/animations/browser
@angular/animations/browser/testing
AUTO_STYLE
AnimateChildOptions
AnimateTimings
AnimationAnimateChildMetadata
AnimationAnimateMetadata
AnimationAnimateRefMetadata
AnimationBuilder
AnimationDriver
AnimationEvent
AnimationFactory
AnimationGroupMetadata
AnimationKeyframesSequenceMetadata
AnimationMetadata
AnimationMetadataType
AnimationOptions
AnimationPlayer
AnimationQueryMetadata
AnimationQueryOptions
AnimationReferenceMetadata
AnimationSequenceMetadata
AnimationStaggerMetadata
AnimationStateMetadata
AnimationStyleMetadata
AnimationTransitionMetadata
AnimationTriggerMetadata
MockAnimationDriver
MockAnimationPlayer
NoopAnimationPlayer
animate
animateChild
animation
group
keyframes
query
sequence
stagger
state
style
transition
trigger
useAnimation
common
@angular/common
@angular/common/http
@angular/common/http/testing
@angular/common/testing
APP_BASE_HREF
AsyncPipe
CommonModule
CurrencyPipe
DOCUMENT
DatePipe
DecimalPipe
DeprecatedCurrencyPipe
DeprecatedDatePipe
DeprecatedDecimalPipe
DeprecatedI18NPipesModule
DeprecatedPercentPipe
FormStyle
FormatWidth
HTTP_INTERCEPTORS
HashLocationStrategy
HttpBackend
HttpClient
HttpClientJsonpModule
HttpClientModule
HttpClientTestingModule
HttpClientXsrfModule
HttpDownloadProgressEvent
HttpErrorResponse
HttpEvent
HttpEventType
HttpHandler
HttpHeaderResponse
HttpHeaders
HttpInterceptor
HttpParameterCodec
HttpParams
HttpProgressEvent
HttpRequest
HttpResponse
HttpResponseBase
HttpSentEvent
HttpTestingController
HttpUrlEncodingCodec
HttpUserEvent
HttpXhrBackend
HttpXsrfTokenExtractor
I18nPluralPipe
I18nSelectPipe
JsonPipe
JsonpClientBackend
JsonpInterceptor
KeyValue
KeyValuePipe
LOCATION_INITIALIZED
Location
LocationChangeEvent
LocationChangeListener
LocationStrategy
LowerCasePipe
MockLocationStrategy
NgClass
NgComponentOutlet
NgForOf
NgForOfContext
NgIf
NgIfContext
NgLocaleLocalization
NgLocalization
NgPlural
NgPluralCase
NgStyle
NgSwitch
NgSwitchCase
NgSwitchDefault
NgTemplateOutlet
NumberFormatStyle
NumberSymbol
PathLocationStrategy
PercentPipe
PlatformLocation
Plural
PopStateEvent
RequestMatch
SlicePipe
SpyLocation
TestRequest
Time
TitleCasePipe
TranslationWidth
UpperCasePipe
ViewportScroller
WeekDay
XhrFactory
formatCurrency
formatDate
formatNumber
formatPercent
getCurrencySymbol
getLocaleCurrencyName
getLocaleCurrencySymbol
getLocaleDateFormat
getLocaleDateTimeFormat
getLocaleDayNames
getLocaleDayPeriods
getLocaleEraNames
getLocaleExtraDayPeriodRules
getLocaleExtraDayPeriods
getLocaleFirstDayOfWeek
getLocaleId
getLocaleMonthNames
getLocaleNumberFormat
getLocaleNumberSymbol
getLocalePluralCase
getLocaleTimeFormat
getLocaleWeekEndRange
getNumberOfCurrencyDigits
isPlatformBrowser
isPlatformServer
isPlatformWorkerApp
isPlatformWorkerUi
registerLocaleData
core
@angular/core
@angular/core/testing
ANALYZE_FOR_ENTRY_COMPONENTS
APP_BOOTSTRAP_LISTENER
APP_ID
APP_INITIALIZER
AfterContentChecked
AfterContentInit
AfterViewChecked
AfterViewInit
ApplicationInitStatus
ApplicationModule
ApplicationRef
Attribute
COMPILER_OPTIONS
CUSTOM_ELEMENTS_SCHEMA
ChangeDetectionStrategy
ChangeDetectorRef
ClassProvider
CollectionChangeRecord
Compiler
CompilerFactory
CompilerOptions
Component
ComponentFactory
ComponentFactoryResolver
ComponentFixture
ComponentFixtureAutoDetect
ComponentFixtureNoNgZone
ComponentRef
ConstructorSansProvider
ContentChild
ContentChildren
DebugElement
DebugNode
DefaultIterableDiffer
Directive
DoCheck
ElementRef
EmbeddedViewRef
ErrorHandler
EventEmitter
ExistingProvider
FactoryProvider
ForwardRefFn
GetTestability
Host
HostBinding
HostListener
INJECTOR
Inject
InjectFlags
InjectSetupWrapper
Injectable
InjectableProvider
InjectableType
InjectionToken
Injector
InjectorType
Input
IterableChangeRecord
IterableChanges
IterableDiffer
IterableDifferFactory
IterableDiffers
KeyValueChangeRecord
KeyValueChanges
KeyValueDiffer
KeyValueDifferFactory
KeyValueDiffers
LOCALE_ID
MetadataOverride
MissingTranslationStrategy
ModuleWithComponentFactories
ModuleWithProviders
NO_ERRORS_SCHEMA
NgIterable
NgModule
NgModuleFactory
NgModuleFactoryLoader
NgModuleRef
NgProbeToken
NgZone
OnChanges
OnDestroy
OnInit
Optional
Output
PACKAGE_ROOT_URL
PLATFORM_ID
PLATFORM_INITIALIZER
Pipe
PipeTransform
PlatformRef
Predicate
Provider
Query
QueryList
ReflectiveInjector
ReflectiveKey
RenderComponentType
Renderer
Renderer2
RendererFactory2
RendererStyleFlags2
RendererType2
ResolvedReflectiveFactory
ResolvedReflectiveProvider
RootRenderer
Sanitizer
SchemaMetadata
SecurityContext
Self
SimpleChange
SimpleChanges
SkipSelf
StaticProvider
SystemJsNgModuleLoader
SystemJsNgModuleLoaderConfig
TRANSLATIONS
TRANSLATIONS_FORMAT
TemplateRef
TestBed
TestComponentRenderer
TestModuleMetadata
Testability
TestabilityRegistry
TrackByFunction
Type
TypeDecorator
TypeProvider
ValueProvider
Version
ViewChild
ViewChildren
ViewContainerRef
ViewEncapsulation
ViewRef
WrappedValue
WtfScopeFn
asNativeElements
assertPlatform
async
createInjector
createPlatform
createPlatformFactory
defineInjectable
defineInjector
destroyPlatform
discardPeriodicTasks
enableProdMode
fakeAsync
flush
flushMicrotasks
forwardRef
getDebugNode
getModuleFactory
getPlatform
getTestBed
inject
inject
isDevMode
platformCore
resetFakeAsyncZone
resolveForwardRef
setTestabilityGetter
tick
withModule
wtfCreateScope
wtfEndTimeRange
wtfLeave
wtfStartTimeRange
elements
@angular/elements
NgElement
NgElementConfig
NgElementConstructor
NgElementStrategy
NgElementStrategyEvent
NgElementStrategyFactory
WithProperties
createCustomElement
forms
@angular/forms
AbstractControl
AbstractControlDirective
AbstractControlOptions
AbstractFormGroupDirective
AsyncValidator
AsyncValidatorFn
COMPOSITION_BUFFER_MODE
CheckboxControlValueAccessor
CheckboxRequiredValidator
ControlContainer
ControlValueAccessor
DefaultValueAccessor
EmailValidator
Form
FormArray
FormArrayName
FormBuilder
FormControl
FormControlDirective
FormControlName
FormGroup
FormGroupDirective
FormGroupName
FormsModule
MaxLengthValidator
MinLengthValidator
NG_ASYNC_VALIDATORS
NG_VALIDATORS
NG_VALUE_ACCESSOR
NgControl
NgControlStatus
NgControlStatusGroup
NgForm
NgModel
NgModelGroup
NgSelectOption
PatternValidator
RadioControlValueAccessor
ReactiveFormsModule
RequiredValidator
SelectControlValueAccessor
SelectMultipleControlValueAccessor
ValidationErrors
Validator
ValidatorFn
Validators
http
@angular/http
@angular/http/testing
BaseRequestOptions
BaseResponseOptions
BrowserXhr
Connection
ConnectionBackend
CookieXSRFStrategy
Headers
Http
HttpModule
JSONPBackend
JSONPConnection
Jsonp
JsonpModule
MockBackend
MockConnection
QueryEncoder
ReadyState
Request
RequestMethod
RequestOptions
RequestOptionsArgs
Response
ResponseContentType
ResponseOptions
ResponseOptionsArgs
ResponseType
URLSearchParams
XHRBackend
XHRConnection
XSRFStrategy
platform-browser
@angular/platform-browser
@angular/platform-browser/animations
@angular/platform-browser/testing
ANIMATION_MODULE_TYPE
BrowserAnimationsModule
BrowserModule
BrowserTestingModule
BrowserTransferStateModule
By
DOCUMENT
DomSanitizer
EVENT_MANAGER_PLUGINS
EventManager
HAMMER_GESTURE_CONFIG
HAMMER_LOADER
HammerGestureConfig
HammerLoader
Meta
MetaDefinition
NoopAnimationsModule
SafeHtml
SafeResourceUrl
SafeScript
SafeStyle
SafeUrl
SafeValue
StateKey
Title
TransferState
disableDebugTools
enableDebugTools
makeStateKey
platformBrowser
platformBrowserTesting
platform-browser-dynamic
@angular/platform-browser-dynamic
@angular/platform-browser-dynamic/testing
BrowserDynamicTestingModule
JitCompilerFactory
RESOURCE_CACHE_PROVIDER
platformBrowserDynamic
platformBrowserDynamicTesting
platform-server
@angular/platform-server
@angular/platform-server/testing
BEFORE_APP_SERIALIZED
INITIAL_CONFIG
PlatformConfig
PlatformState
ServerModule
ServerTestingModule
ServerTransferStateModule
platformDynamicServer
platformServer
platformServerTesting
renderModule
renderModuleFactory
platform-webworker
@angular/platform-webworker
ClientMessageBroker
ClientMessageBrokerFactory
FnArg
MessageBus
MessageBusSink
MessageBusSource
ReceivedMessage
SerializerTypes
ServiceMessageBroker
ServiceMessageBrokerFactory
UiArguments
WORKER_APP_LOCATION_PROVIDERS
WORKER_UI_LOCATION_PROVIDERS
WorkerAppModule
bootstrapWorkerUi
platformWorkerApp
platformWorkerUi
platform-webworker-dynamic
@angular/platform-webworker-dynamic
platformWorkerAppDynamic
router
@angular/router
@angular/router/testing
@angular/router/upgrade
ActivatedRoute
ActivatedRouteSnapshot
ActivationEnd
ActivationStart
CanActivate
CanActivateChild
CanDeactivate
CanLoad
ChildActivationEnd
ChildActivationStart
ChildrenOutletContexts
Data
DefaultUrlSerializer
DetachedRouteHandle
Event
ExtraOptions
GuardsCheckEnd
GuardsCheckStart
LoadChildren
LoadChildrenCallback
NavigationCancel
NavigationEnd
NavigationError
NavigationExtras
NavigationStart
NoPreloading
OutletContext
PRIMARY_OUTLET
ParamMap
Params
PreloadAllModules
PreloadingStrategy
ROUTER_CONFIGURATION
ROUTER_INITIALIZER
ROUTES
Resolve
ResolveData
ResolveEnd
ResolveStart
Route
RouteConfigLoadEnd
RouteConfigLoadStart
RouteReuseStrategy
Router
RouterEvent
RouterLink
RouterLinkActive
RouterLinkWithHref
RouterModule
RouterOutlet
RouterPreloader
RouterState
RouterStateSnapshot
RouterTestingModule
RouterUpgradeInitializer
Routes
RoutesRecognized
RunGuardsAndResolvers
Scroll
SpyNgModuleFactoryLoader
UrlHandlingStrategy
UrlMatchResult
UrlMatcher
UrlSegment
UrlSegmentGroup
UrlSerializer
UrlTree
convertToParamMap
provideRoutes
setUpLocationSync
setupTestingRouter
service-worker
@angular/service-worker
ServiceWorkerModule
SwPush
SwUpdate
UpdateActivatedEvent
UpdateAvailableEvent
upgrade
@angular/upgrade
@angular/upgrade/static
UpgradeAdapter
UpgradeAdapterRef
UpgradeComponent
UpgradeModule
downgradeComponent
downgradeInjectable
downgradeModule
getAngularJSGlobal
getAngularLib
setAngularJSGlobal
setAngularLib
Copyright ©2025 TypeError Powered By AnyPost, page cost 89ms.
Privacy Policy