Skip to main content
menu
close
v18
K
Docs
Tutorials
Playground
Reference
more_horiz
menu
API
Roadmap
Get involved
API Reference
Overview
@angular/animations
animate
animateChild
AnimateChildOptions
AnimateTimings
animation
AnimationAnimateChildMetadata
AnimationAnimateMetadata
AnimationAnimateRefMetadata
AnimationBuilder
AnimationEvent
AnimationFactory
AnimationGroupMetadata
AnimationKeyframesSequenceMetadata
AnimationMetadata
AnimationMetadataType
AnimationOptions
AnimationPlayer
AnimationQueryMetadata
AnimationQueryOptions
AnimationReferenceMetadata
AnimationSequenceMetadata
AnimationStaggerMetadata
AnimationStateMetadata
AnimationStyleMetadata
AnimationTransitionMetadata
AnimationTriggerMetadata
AUTO_STYLE
group
keyframes
NoopAnimationPlayer
query
sequence
stagger
state
style
transition
trigger
useAnimation
@angular/animations/browser
AnimationDriver
NoopAnimationDriver
@angular/animations/browser/testing
MockAnimationDriver
MockAnimationPlayer
@angular/common
APP_BASE_HREF
AsyncPipe
BrowserPlatformLocation
CommonModule
CurrencyPipe
DATE_PIPE_DEFAULT_OPTIONS
DATE_PIPE_DEFAULT_TIMEZONE
DatePipe
DatePipeConfig
DecimalPipe
DOCUMENT
formatCurrency
formatDate
formatNumber
formatPercent
FormatWidth
FormStyle
getCurrencySymbol
getLocaleCurrencyCode
getLocaleCurrencyName
getLocaleCurrencySymbol
getLocaleDateFormat
getLocaleDateTimeFormat
getLocaleDayNames
getLocaleDayPeriods
getLocaleDirection
getLocaleEraNames
getLocaleExtraDayPeriodRules
getLocaleExtraDayPeriods
getLocaleFirstDayOfWeek
getLocaleId
getLocaleMonthNames
getLocaleNumberFormat
getLocaleNumberSymbol
getLocalePluralCase
getLocaleTimeFormat
getLocaleWeekEndRange
getNumberOfCurrencyDigits
HashLocationStrategy
I18nPluralPipe
I18nSelectPipe
IMAGE_CONFIG
IMAGE_LOADER
ImageConfig
ImageLoader
ImageLoaderConfig
ImagePlaceholderConfig
isPlatformBrowser
isPlatformServer
JsonPipe
KeyValue
KeyValuePipe
Location
LOCATION_INITIALIZED
LocationChangeEvent
LocationChangeListener
LocationStrategy
LowerCasePipe
NgClass
NgComponentOutlet
NgFor
NgForOf
NgForOfContext
NgIf
NgIfContext
NgLocaleLocalization
NgLocalization
NgOptimizedImage
NgPlural
NgPluralCase
NgStyle
NgSwitch
NgSwitchCase
NgSwitchDefault
NgTemplateOutlet
NumberFormatStyle
NumberSymbol
PathLocationStrategy
PercentPipe
PlatformLocation
Plural
PopStateEvent
PRECONNECT_CHECK_BLOCKLIST
provideCloudflareLoader
provideCloudinaryLoader
provideImageKitLoader
provideImgixLoader
provideNetlifyLoader
registerLocaleData
SlicePipe
Time
TitleCasePipe
TranslationWidth
UpperCasePipe
VERSION
ViewportScroller
WeekDay
XhrFactory
@angular/common/http
FetchBackend
HTTP_INTERCEPTORS
HTTP_TRANSFER_CACHE_ORIGIN_MAP
HttpBackend
HttpClient
HttpClientJsonpModule
HttpClientModule
HttpClientXsrfModule
HttpContext
HttpContextToken
HttpDownloadProgressEvent
HttpErrorResponse
HttpEvent
HttpEventType
HttpFeature
HttpFeatureKind
HttpHandler
HttpHandlerFn
HttpHeaderResponse
HttpHeaders
HttpInterceptor
HttpInterceptorFn
HttpParameterCodec
HttpParams
HttpParamsOptions
HttpProgressEvent
HttpRequest
HttpResponse
HttpResponseBase
HttpSentEvent
HttpStatusCode
HttpTransferCacheOptions
HttpUploadProgressEvent
HttpUrlEncodingCodec
HttpUserEvent
HttpXhrBackend
HttpXsrfTokenExtractor
JsonpClientBackend
JsonpInterceptor
provideHttpClient
withFetch
withInterceptors
withInterceptorsFromDi
withJsonpSupport
withNoXsrfProtection
withRequestsMadeViaParent
withXsrfConfiguration
@angular/common/http/testing
HttpClientTestingModule
HttpTestingController
provideHttpClientTesting
RequestMatch
TestRequest
@angular/common/testing
MOCK_PLATFORM_LOCATION_CONFIG
MockLocationStrategy
MockPlatformLocation
MockPlatformLocationConfig
provideLocationMocks
SpyLocation
@angular/common/upgrade
$locationShim
$locationShimProvider
AngularJSUrlCodec
LOCATION_UPGRADE_CONFIGURATION
LocationUpgradeConfig
LocationUpgradeModule
UrlCodec
@angular/core
@defer
@for
@if
@let
@switch
AbstractType
AfterContentChecked
AfterContentInit
afterNextRender
afterRender
AfterRenderOptions
AfterRenderPhase
AfterRenderRef
AfterViewChecked
AfterViewInit
ANIMATION_MODULE_TYPE
APP_BOOTSTRAP_LISTENER
APP_ID
APP_INITIALIZER
ApplicationConfig
ApplicationInitStatus
ApplicationModule
ApplicationRef
asNativeElements
assertInInjectionContext
assertNotInReactiveContext
assertPlatform
Attribute
booleanAttribute
BootstrapOptions
ChangeDetectionStrategy
ChangeDetectorRef
ClassProvider
ClassSansProvider
Compiler
COMPILER_OPTIONS
CompilerFactory
CompilerOptions
Component
ComponentFactory
ComponentFactoryResolver
ComponentMirror
ComponentRef
computed
ConstructorProvider
ConstructorSansProvider
contentChild
ContentChild
contentChildren
ContentChildren
createComponent
CreateComputedOptions
CreateEffectOptions
createEnvironmentInjector
createNgModule
createNgModuleRef
createPlatform
createPlatformFactory
CreateSignalOptions
CSP_NONCE
CUSTOM_ELEMENTS_SCHEMA
DebugElement
DebugEventListener
DebugNode
DEFAULT_CURRENCY_CODE
DefaultIterableDiffer
defineInjectable
destroyPlatform
DestroyRef
Directive
DoBootstrap
DoCheck
effect
EffectCleanupFn
EffectCleanupRegisterFn
EffectRef
ElementRef
EmbeddedViewRef
enableProdMode
ENVIRONMENT_INITIALIZER
EnvironmentInjector
EnvironmentProviders
ErrorHandler
EventEmitter
ExistingProvider
ExistingSansProvider
ExperimentalPendingTasks
FactoryProvider
FactorySansProvider
forwardRef
ForwardRefFn
getDebugNode
getModuleFactory
getNgModuleById
getPlatform
GetTestability
Host
HOST_TAG_NAME
HostAttributeToken
HostBinding
HostListener
ImportedNgModuleProviders
importProvidersFrom
ImportProvidersSource
inject
Inject
Injectable
InjectableProvider
InjectableType
InjectFlags
InjectionToken
InjectOptions
Injector
INJECTOR
InjectorType
input
Input
InputOptions
InputOptionsWithoutTransform
InputOptionsWithTransform
InputSignal
InputSignalWithTransform
isDevMode
isSignal
isStandalone
IterableChangeRecord
IterableChanges
IterableDiffer
IterableDifferFactory
IterableDiffers
KeyValueChangeRecord
KeyValueChanges
KeyValueDiffer
KeyValueDifferFactory
KeyValueDiffers
LOCALE_ID
makeEnvironmentProviders
makeStateKey
mergeApplicationConfig
MissingTranslationStrategy
model
ModelOptions
ModelSignal
ModuleWithComponentFactories
ModuleWithProviders
ng-container
ng-content
ng-template
NgIterable
NgModule
NgModuleFactory
NgModuleRef
NgProbeToken
NgZone
NgZoneOptions
NO_ERRORS_SCHEMA
numberAttribute
OnChanges
OnDestroy
OnInit
Optional
output
Output
OutputEmitterRef
OutputOptions
OutputRef
OutputRefSubscription
PACKAGE_ROOT_URL
Pipe
PipeTransform
PLATFORM_ID
PLATFORM_INITIALIZER
platformCore
PlatformRef
Predicate
provideExperimentalCheckNoChangesForDebug
provideExperimentalZonelessChangeDetection
Provider
ProviderToken
provideZoneChangeDetection
Query
QueryList
reflectComponentType
Renderer2
RendererFactory2
RendererStyleFlags2
RendererType2
resolveForwardRef
runInInjectionContext
Sanitizer
SchemaMetadata
SecurityContext
Self
setTestabilityGetter
signal
Signal
SimpleChange
SimpleChanges
SkipSelf
StateKey
StaticClassProvider
StaticClassSansProvider
StaticProvider
TemplateRef
Testability
TestabilityRegistry
TrackByFunction
TransferState
TRANSLATIONS
TRANSLATIONS_FORMAT
Type
TypeProvider
untracked
ValueEqualityFn
ValueProvider
ValueSansProvider
Version
VERSION
viewChild
ViewChild
viewChildren
ViewChildren
ViewContainerRef
ViewEncapsulation
ViewRef
WritableSignal
@angular/core/rxjs-interop
outputFromObservable
outputToObservable
takeUntilDestroyed
toObservable
ToObservableOptions
toSignal
ToSignalOptions
@angular/core/testing
ComponentFixture
ComponentFixtureAutoDetect
ComponentFixtureNoNgZone
DeferBlockBehavior
DeferBlockFixture
DeferBlockState
discardPeriodicTasks
fakeAsync
flush
flushMicrotasks
getTestBed
inject
InjectSetupWrapper
MetadataOverride
ModuleTeardownOptions
resetFakeAsyncZone
TestBed
TestBedStatic
TestComponentRenderer
TestEnvironmentOptions
TestModuleMetadata
tick
waitForAsync
withModule
@angular/elements
createCustomElement
NgElement
NgElementConfig
NgElementConstructor
NgElementStrategy
NgElementStrategyEvent
NgElementStrategyFactory
VERSION
WithProperties
@angular/forms
AbstractControl
AbstractControlDirective
AbstractControlOptions
AbstractFormGroupDirective
AsyncValidator
AsyncValidatorFn
CheckboxControlValueAccessor
CheckboxRequiredValidator
COMPOSITION_BUFFER_MODE
ControlConfig
ControlContainer
ControlEvent
ControlValueAccessor
DefaultValueAccessor
EmailValidator
Form
FormArray
FormArrayName
FormBuilder
FormControl
FormControlDirective
FormControlName
FormControlOptions
FormControlState
FormControlStatus
FormGroup
FormGroupDirective
FormGroupName
FormRecord
FormResetEvent
FormsModule
FormSubmittedEvent
isFormArray
isFormControl
isFormGroup
isFormRecord
MaxLengthValidator
MaxValidator
MinLengthValidator
MinValidator
NG_ASYNC_VALIDATORS
NG_VALIDATORS
NG_VALUE_ACCESSOR
NgControl
NgControlStatus
NgControlStatusGroup
NgForm
NgModel
NgModelGroup
NgSelectOption
NonNullableFormBuilder
NumberValueAccessor
PatternValidator
PristineChangeEvent
RadioControlValueAccessor
RangeValueAccessor
ReactiveFormsModule
RequiredValidator
SelectControlValueAccessor
SelectMultipleControlValueAccessor
SetDisabledStateOption
StatusChangeEvent
TouchedChangeEvent
UntypedFormArray
UntypedFormBuilder
UntypedFormControl
UntypedFormGroup
ValidationErrors
Validator
ValidatorFn
Validators
ValueChangeEvent
VERSION
@angular/localize
clearTranslations
loadTranslations
MessageId
TargetMessage
@angular/localize/init
$localize
@angular/platform-browser
ApplicationConfig
bootstrapApplication
BrowserModule
By
createApplication
disableDebugTools
DomSanitizer
enableDebugTools
EVENT_MANAGER_PLUGINS
EventManager
EventManagerPlugin
HAMMER_GESTURE_CONFIG
HAMMER_LOADER
HammerGestureConfig
HammerLoader
HammerModule
HydrationFeature
HydrationFeatureKind
Meta
MetaDefinition
platformBrowser
provideClientHydration
provideProtractorTestingSupport
REMOVE_STYLES_ON_COMPONENT_DESTROY
SafeHtml
SafeResourceUrl
SafeScript
SafeStyle
SafeUrl
SafeValue
Title
VERSION
withEventReplay
withHttpTransferCacheOptions
withI18nSupport
withNoHttpTransferCache
@angular/platform-browser-dynamic
JitCompilerFactory
platformBrowserDynamic
VERSION
@angular/platform-browser-dynamic/testing
BrowserDynamicTestingModule
platformBrowserDynamicTesting
@angular/platform-browser/animations
ANIMATION_MODULE_TYPE
BrowserAnimationsModule
BrowserAnimationsModuleConfig
NoopAnimationsModule
provideAnimations
provideNoopAnimations
@angular/platform-browser/animations/async
provideAnimationsAsync
@angular/platform-browser/testing
BrowserTestingModule
platformBrowserTesting
@angular/platform-server
BEFORE_APP_SERIALIZED
INITIAL_CONFIG
PlatformConfig
platformServer
PlatformState
provideServerRendering
renderApplication
renderModule
ServerModule
VERSION
@angular/platform-server/testing
platformServerTesting
ServerTestingModule
@angular/router
ActivatedRoute
ActivatedRouteSnapshot
ActivationEnd
ActivationStart
BaseRouteReuseStrategy
CanActivate
CanActivateChild
CanActivateChildFn
CanActivateFn
CanDeactivate
CanDeactivateFn
CanLoad
CanLoadFn
CanMatch
CanMatchFn
ChildActivationEnd
ChildActivationStart
ChildrenOutletContexts
convertToParamMap
createUrlTreeFromSnapshot
Data
DebugTracingFeature
DefaultExport
DefaultTitleStrategy
defaultUrlMatcher
DefaultUrlSerializer
DeprecatedGuard
DetachedRouteHandle
DisabledInitialNavigationFeature
EnabledBlockingInitialNavigationFeature
Event
EventType
ExtraOptions
GuardResult
GuardsCheckEnd
GuardsCheckStart
InitialNavigation
InitialNavigationFeature
InMemoryScrollingFeature
InMemoryScrollingOptions
IsActiveMatchOptions
LoadChildren
LoadChildrenCallback
mapToCanActivate
mapToCanActivateChild
mapToCanDeactivate
mapToCanMatch
mapToResolve
MaybeAsync
Navigation
NavigationBehaviorOptions
NavigationCancel
NavigationCancellationCode
NavigationEnd
NavigationError
NavigationErrorHandlerFeature
NavigationExtras
NavigationSkipped
NavigationSkippedCode
NavigationStart
NoPreloading
OnSameUrlNavigation
OutletContext
ParamMap
Params
PreloadAllModules
PreloadingFeature
PreloadingStrategy
PRIMARY_OUTLET
provideRouter
provideRoutes
QueryParamsHandling
RedirectCommand
RedirectFunction
Resolve
ResolveData
ResolveEnd
ResolveFn
ResolveStart
Route
RouteConfigLoadEnd
RouteConfigLoadStart
Router
ROUTER_CONFIGURATION
ROUTER_INITIALIZER
RouterConfigOptions
RouterConfigurationFeature
RouteReuseStrategy
RouterEvent
RouterFeature
RouterFeatures
RouterHashLocationFeature
RouterLink
RouterLinkActive
RouterLinkWithHref
RouterModule
RouterOutlet
RouterOutletContract
RouterPreloader
RouterState
RouterStateSnapshot
Routes
ROUTES
RoutesRecognized
RunGuardsAndResolvers
Scroll
TitleStrategy
UrlCreationOptions
UrlHandlingStrategy
UrlMatcher
UrlMatchResult
UrlSegment
UrlSegmentGroup
UrlSerializer
UrlTree
VERSION
ViewTransitionInfo
ViewTransitionsFeature
ViewTransitionsFeatureOptions
withComponentInputBinding
withDebugTracing
withDisabledInitialNavigation
withEnabledBlockingInitialNavigation
withHashLocation
withInMemoryScrolling
withNavigationErrorHandler
withPreloading
withRouterConfig
withViewTransitions
@angular/router/testing
RouterTestingHarness
RouterTestingModule
@angular/router/upgrade
locationSyncBootstrapListener
RouterUpgradeInitializer
setUpLocationSync
@angular/service-worker
NoNewVersionDetectedEvent
provideServiceWorker
ServiceWorkerModule
SwPush
SwRegistrationOptions
SwUpdate
UnrecoverableStateEvent
VersionDetectedEvent
VersionEvent
VersionInstallationFailedEvent
VersionReadyEvent
@angular/upgrade
UpgradeAdapter
UpgradeAdapterRef
@angular/upgrade/static
downgradeComponent
downgradeInjectable
downgradeModule
getAngularJSGlobal
getAngularLib
setAngularJSGlobal
setAngularLib
UpgradeComponent
UpgradeModule
VERSION
@angular/upgrade/static/testing
createAngularJSTestingModule
createAngularTestingModule
<code>window.ng</code> globals
applyChanges
ComponentDebugMetadata
DirectiveDebugMetadata
getComponent
getContext
getDirectiveMetadata
getDirectives
getHostElement
getInjector
getListeners
getOwningComponent
getRootComponents
Listener
CLI Reference
Overview
ng add
ng analytics
Overview
disable
enable
info
prompt
ng build
ng cache
Overview
clear
disable
enable
info
ng completion
Overview
script
ng config
ng deploy
ng e2e
ng extract-i18n
ng generate
Overview
app-shell
application
class
component
config
directive
enum
environments
guard
interceptor
interface
library
module
pipe
resolver
service-worker
service
web-worker
ng lint
ng new
ng run
ng serve
ng test
ng update
ng version
Error Encyclopedia
Overview
NG0100: Expression Changed After Checked
NG01101: Wrong Async Validator Return Type
NG01203: Missing value accessor
NG0200: Circular Dependency in DI
NG0201: No Provider Found
NG0203: `inject()` must be called from an injection context
NG0209: Invalid multi provider
NG02200: Missing Iterable Differ
NG02800: JSONP support in HttpClient configuration
NG0300: Selector Collision
NG0301: Export Not Found
NG0302: Pipe Not Found
NG0403: Bootstrapped NgModule doesn't specify which component to initialize
NG0500: Hydration Node Mismatch
NG0501: Hydration Missing Siblings
NG0502: Hydration Missing Node
NG0503: Hydration Unsupported Projection of DOM Nodes
NG0504: Skip hydration flag is applied to an invalid node
NG0505: No hydration info in server response
NG0506: NgZone remains unstable
NG0507: HTML content was altered after server-side rendering
NG0602: Disallowed function call inside reactive context
NG05104: Root element was not found
NG0910: Unsafe bindings on an iframe element
NG0912: Component ID generation collision
NG0913: Runtime Performance Warnings
NG0950: Required input is accessed before a value is set.
NG0951: Child query result is required but no value is available.
NG0955: Track expression resulted in duplicated keys for a given collection
NG0956: Tracking expression caused re-creation of the DOM structure
NG1001: Argument Not Literal
NG2003: Missing Token
NG2009: Invalid Shadow DOM selector
NG3003: Import Cycle Detected
NG05000: Hydration with unsupported Zone.js instance.
NG6100: NgModule.id Set to module.id anti-pattern
NG8001: Invalid Element
NG8002: Invalid Attribute
NG8003: Missing Reference Target
Extended Diagnostics
Overview
NG8101: Invalid Banana-in-Box
NG8102: Nullish coalescing not nullable
NG8103: Missing control flow directive
NG8104: Text attribute not binding
NG8105: Missing `let` keyword in an *ngFor expression
NG8106: Suffix not supported
NG8107: Optional chain not nullable
NG8108: ngSkipHydration should be a static attribute
NG8109: Signals must be invoked in template interpolations
NG8111: Functions must be invoked in event bindings
Versioning and releases
Version compatibility
Update guide
Configurations
File structure
Workspace configuration
Angular compiler options
npm dependencies
Migrations
Overview
Standalone
Control Flow Syntax
inject() Function
Lazy-loaded routes
Concepts
Overview
NgModule
Overview
JS Modules vs NgModules
Launching your app with a root module
Sharing NgModules
Frequently used NgModules
Feature modules
Types of feature modules
Providing dependencies
Singleton services
Lazy-loading feature modules
NgModule API
NgModule FAQs
Update Guide
Select the options that match your update
Angular versions
From v.
17.0
expand_more
To v.
18.0
expand_more
Application complexity
Basic
Medium
Advanced
Shows information for all Angular developers.
Other dependencies
I use ngUpgrade to combine AngularJS & Angular
I use Angular Material
I use Windows
Show me how to update!