angular-http

Implement signal-based HTTP data fetching in Angular v20+ with resource(), httpResource(), and HttpClient.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/rensjaspers/agents --skill angular-http-rensjaspers
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: angular-http
Source: https://github.com/rensjaspers/agents/tree/main/skills/angular-http
Command: npx skills add https://github.com/rensjaspers/agents --skill angular-http-rensjaspers

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies and standardizes how Angular applications handle HTTP requests and manage asynchronous data, making data fetching more robust and easier to implement.

Core Features & Use Cases

  • Signal-Based Fetching: Utilizes httpResource() for reactive, signal-driven HTTP requests with built-in loading and error states.
  • Generic Async Data: Employs resource() for managing any asynchronous data source, not just HTTP.
  • Traditional HttpClient: Supports the standard HttpClient for complex scenarios and RxJS integration.
  • Interceptors: Provides clear examples for implementing and registering HTTP interceptors for auth, error handling, and logging.
  • Use Case: Quickly integrate an API into your Angular app, manage loading spinners, display error messages gracefully, and handle authentication tokens automatically.

Quick Start

Use the angular-http skill to fetch user data from '/api/users/123' and display the user's name.

Frequently Asked Questions about angular-http

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use Angular signals for HTTP data fetching?

This Skill implements Angular HTTP data fetching using signal-based `httpResource()` and `resource()` to manage API calls with built-in loading and error states.

What is the difference between resource() and httpResource() in Angular?

Use `httpResource()` for signal-driven HTTP requests and `resource()` for managing generic asynchronous data sources, with both providing built-in loading and error states.

How do I implement HTTP interceptors for auth tokens in Angular?

This Skill provides clear examples for implementing and registering HTTP interceptors to manage authentication tokens, handle errors, and log requests.

Can I still use HttpClient and RxJS with Angular signals?

Yes, standard `HttpClient` is supported for complex scenarios and RxJS integration, allowing you to convert Observable-based HTTP patterns to signal-based ones.

Does this Angular HTTP approach work with v20?

Yes, this approach implements HTTP data fetching specifically for Angular v20+ using signal-based `resource()`, `httpResource()`, and `HttpClient`.

What is the best way to handle API loading states in Angular?

Using signal-based `httpResource()` is an effective way to manage API calls, automatically providing built-in loading and error states for data fetching.