Angular
Google's comprehensive, TypeScript-first framework for building structured, enterprise-scale web applications.
26 lecciones
Angular
Empezar cursoGetting Started
Components & Templates
- Component Anatomy and DecoratorsEverything a component is made of, and how the @Component decorator ties a class, a template, and styles together.
- Standalone ComponentsWhy standalone components are the modern default in Angular, and how they replace NgModules for wiring up dependencies.
- Component Styles and View EncapsulationScoping CSS to a single component and understanding Angular's default view encapsulation.
Data Binding
- Interpolation and Property BindingGetting data out of a component class and into the template with interpolation and property binding.
- Event BindingResponding to clicks, keystrokes, and other user actions in the template with Angular's event binding syntax.
- Two-Way Binding with ngModelKeeping a template and a component property in sync in both directions with ngModel and the banana-in-a-box syntax.
Directives & Pipes
- Structural DirectivesConditionally rendering and repeating template content with @if and @for, Angular's modern control-flow syntax.
- Attribute DirectivesChanging the appearance or behavior of an existing element with built-in directives like ngClass and your own custom ones.
- Pipes in AngularTransforming data for display right in the template with built-in pipes and pipes you write yourself.
Component Communication & Lifecycle
- Input and Output PropertiesPassing data down into a child component and sending events back up with @Input and @Output.
- Content Projection with ng-contentLetting a parent component pass markup into a child's template with ng-content, Angular's version of slots.
- Lifecycle HooksThe hooks Angular calls at each stage of a component's life, and which ones you will actually reach for.
Services & Reactivity
- Services and Dependency InjectionSharing logic and state across components with injectable services and Angular's dependency injection system.
- Angular SignalsA fine-grained reactivity primitive for state that automatically updates the view whenever it changes.
- RxJS Observables in AngularThe observables Angular uses under the hood for events, HTTP, and async data, and the handful of operators you'll use daily.
Routing & HTTP
- Angular Router BasicsWiring up client-side navigation between components with Angular's Router and the routerLink directive.
- Route ParametersReading dynamic segments out of the URL, like an item's id, to load the right data for a route.
- Route GuardsControlling whether a route is allowed to activate, most commonly to protect pages behind authentication.
- HttpClient and APIsCalling a backend API from an Angular app with HttpClient and handling the observable it returns.
Forms & Best Practices
- Template-Driven FormsBuilding a simple form with ngModel and letting Angular's template-driven forms track its state for you.
- Reactive FormsBuilding forms in the component class with FormGroup and FormControl for more predictable, testable form logic.
- Form ValidationAdding required fields, patterns, and custom rules to a form, and showing the right error message at the right time.
- Change Detection BasicsHow Angular decides when to re-render the DOM, and why the default and OnPush strategies behave differently.
- Angular Best PracticesA closing checklist of habits that keep an Angular codebase fast, readable, and easy to change.