Cookies concent notice
This site uses cookies from Google to deliver its services and to analyze traffic.
Learn more
OK, got it
Skip to main content
Support Ukraine
Help Provide Humanitarian Aid to Ukraine.
Funcionalidades
Documentação
Recursos
Eventos
Blog
dark_mode
Introdução
Primeiros passos
O que é Angular?
Experimente isso
Primeiros passos
Adicionando navegação
Gerenciando Dados
Usando formulários para tratar dados de entrada de usuários
Publicando uma aplicação
Configuração
Entendendo Angular
Visão geral
Componentes
Visão geral
Ciclo de vida de um Componente
View Encapsulation
Interação com um Componente
Estilos de um Componente
Compartilhando dados entre diretivas e componentes filhos e pai
Projeção de conteúdo
Componentes Dinâmicos
Angular Elements
Templates
Visão geral
Introdução
Interpolação de texto
Declarações de template
Binding
Understanding binding
Attribute binding
Class and style binding
Event binding
Property binding
Two-way binding
Pipes
Understanding pipes
Using a pipe in a template
Transforming data with parameters and chained pipes
Template reference variables
SVG as templates
Directives
Built-in directives
Attribute Directives
Structural Directives
Dependency Injection
Angular Dependency Injection
DI Providers
Developer guides
Overview
Change detection
Overview
Zone Pollution
Slow Computations
Skipping Component Subtrees
Routing and Navigation
Overview
Common routing tasks
Tutorial: Routing in Single-page Applications
Tutorial: Creating custom route matches
Tutorial: Adding routing to Tour of Heroes
Router reference
Forms
Introduction
Reactive Forms
Strictly Typed Reactive Forms In Depth
Validate form input
Building Dynamic Forms
HTTP Client
Testing
Intro to Testing
Code Coverage
Testing Services
Basics of Testing Components
Component Testing Scenarios
Testing Attribute Directives
Testing Pipes
Debugging Tests
Testing Utility APIs
Internationalization
Overview
Common internationalization tasks
Overview
Add the localize package
Refer to locales by ID
Format data based on locale
Prepare component for translation
Work with translation files
Merge translations into the app
Deploy multiple locales
Example Angular application
Optional internationalization practices
Overview
Set the runtime locale manually
Import global variants of the locale data
Manage marked text with custom IDs
Animations
Introduction
Transition and Triggers
Complex Sequences
Reusable Animations
Route Transition Animations
Service Workers & PWA
Introduction
Getting Started
App Shell
Service Worker Communication
Service Worker Notifications
Service Worker in Production
Service Worker Configuration
Web Workers
Server-side Rendering
Prerendering
Best Practices
Security
Accessibility
Keeping Up-to-Date
Property Binding Best Practices
Lazy Loading Feature Modules
Lightweight Injection Tokens for Libraries
Angular Tools
Dev Workflow
Deploying applications
AOT Compiler
Ahead-of-Time Compilation
Angular Compiler Options
AOT Metadata Errors
Template Type-checking
Building & Serving
CLI Builders
Language Service
DevTools
Schematics
Schematics Overview
Authoring Schematics
Schematics for Libraries
Tutorials
Tutorial: Tour of Heroes
Introduction
Create a Project
1. The Hero Editor
2. Display a List
3. Create a Feature Component
4. Add Services
5. Add Navigation
6. Get Data from a Server
Building a Template-driven Form
Angular Libraries
Libraries Overview
Using Published Libraries
Creating Libraries
Angular Package Format
Feature preview
Standalone components
Release Information
Release Practices
Roadmap
Browser Support
Update to Version 14
Deprecations
Upgrading from AngularJS
Upgrading Instructions
Setup for Upgrading from AngularJS
Upgrading for Performance
AngularJS-Angular Concepts
Reference
Conceptual Reference
Angular Concepts
Intro to Basic Concepts
Intro to Modules
Intro to Components
Intro to Services and DI
Next Steps
Binding syntax
How event binding works
Template variables
Workspace and project structure
Project File Structure
Workspace Configuration
npm Dependencies
TypeScript Configuration
NgModules
NgModules Introduction
JS Modules vs NgModules
Launching Apps with a Root Module
Frequently Used NgModules
Types of Feature Modules
Entry Components
Feature Modules
Providing Dependencies
Singleton Services
Sharing NgModules
NgModule API
NgModule FAQs
Observables & RxJS
Observables Overview
The RxJS Library
Observables in Angular
Practical Usage
Compare to Other Techniques
Dependency injection
Hierarchical Injectors
DI in Action
CLI Command Reference
Overview
Usage Analytics
ng add
ng analytics
ng build
ng cache
ng completion
ng config
ng deploy
ng doc
ng e2e
ng extract-i18n
ng generate
ng lint
ng new
ng run
ng serve
ng test
ng update
ng version
API Reference
Error Reference
NG0100: Expression Changed After Checked @category runtime @videoUrl https://www.youtube.com/embed/O47uUnJjbJc @shortDescription Expression has changed after it was checked
NG0200: Circular Dependency in DI @category runtime @videoUrl https://www.youtube.com/embed/CpLOm4o_FzM @shortDescription Circular dependency in DI detected while instantiating a provider
NG0201: No Provider Found @category runtime @videoUrl https://www.youtube.com/embed/lAlOryf1-WU @shortDescription No provider for {token} found!
NG0203: `inject()` must be called from an injection context @category runtime @shortDescription `inject()` must be called from an injection context (a constructor, a factory function or a field initializer)
NG0300: Selector Collision @category runtime @videoUrl https://www.youtube.com/embed/z_3Z5mOm59I @shortDescription Multiple components match with the same tagname
NG0301: Export Not Found @category runtime @videoUrl https://www.youtube.com/embed/fUSAg4kp2WQ @shortDescription Export not found!
NG0302: Pipe Not Found @category runtime @videoUrl https://www.youtube.com/embed/maI2u6Sxk9M @videoCaption Note: The video predates standalone pipes, please refer to additional instructions below if you use standalone pipes. @shortDescription Pipe not found!
NG1001: Argument Not Literal @category compiler @shortDescription Decorator argument is not an object literal
NG1003: Wrong Async Validator Return Type @category forms @shortDescription Async validator must return a Promise or Observable
NG2003: Missing Token @category compiler @shortDescription No suitable injection token for parameter
NG2009: Invalid Shadow DOM selector @category compiler @shortDescription Component selector does not match shadow DOM requirements
NG2200: Missing Iterable Differ @category runtime @shortDescription Cannot find a differ for object in ngFor
NG3003: Import Cycle Detected @category compiler @shortDescription Import cycles would need to be created to compile this component
NG6100: NgModule.id Set to module.id anti-pattern @category compiler @shortDescription Setting NgModule.id to module.id is a common anti-pattern
NG6999: Invalid metadata @category compiler @shortDescription Invalid @NgModule() metadata
NG8001: Invalid Element @category compiler @shortDescription Unknown HTML element or component
NG8002: Invalid Attribute @category compiler @videoUrl https://www.youtube.com/embed/wfLkB3RsSJM @shortDescription Unknown attribute or input
NG8003: Missing Reference Target @category compiler @videoUrl https://www.youtube.com/embed/fUSAg4kp2WQ @shortDescription No directive found with export
Extended Diagnostic Reference
Extended Diagnostics Overview
NG8101: Invalid Banana-in-Box
NG8102: Nullish coalescing not nullable
Example applications
Angular Glossary
Angular Style and Usage
Quick Reference
Coding Style Guide
Content Contributor's Guide
Overview
Reviewing content
Updating search keywords
Updating content using GitHub UI
Documentation Style Guide
Angular doc localization guidelines
stable (v14.1.0-next.4)
The modern web
developer's platform
This website requires JavaScript.