angular-http
Implement HTTP data fetching in Angular v20+ using resource(), httpResource(), and HttpClient.
Skill by manu14357
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/manu14357-angular-http
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: frontend, backend, data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
angular-http- Description
- Implement HTTP data fetching in Angular v20+ using resource(), httpResource(), and HttpClient. Use for API calls, data loading with signals, request/response handling, and interceptors. Triggers on data fetching, API integration, loading states, error handling, or converting Observable-based HTTP to signal-based patterns.
- License
- MIT
- Instructions
- 363 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (2)
- SKILL.md
- http-patterns.md · references/
SKILL.md (first lines)
# Angular HTTP & Data Fetching
Fetch data in Angular using signal-based `resource()`, `httpResource()`, and the traditional `HttpClient`.
## httpResource() - Signal-Based HTTP
`httpResource()` wraps HttpClient with signal-based state management:
```typescript
import { Component, signal } from '@angular/core';
import { httpResource } from '@angular/common/http';
interface User {
id: number;
name: string;
email: string;
}
@Component({
selector: 'app-user-profile',
template: `
@if (userResource.isLoading()) {
<p>Loading...</p>
} @else if (userResource.error()) {
<p>Error: {{ userResource.error()?.message }}</p>
<button (click)="userResource.reload()">Retry</button>
} @else if (userResource.hasValue()) {
<h1>{{ userResource.value().name }}</h1>
<p>{{ userResource.value().email }}</p>
}
`,
})
export class UserProfile {
userId = signal('123');
// Reactive HTTP resource - refetches when userId changes
userResource = httpResource<User>(() => `/api/users/${this.userId()}`);
}
```
### httpResource Options
```typescript
// Simple GET request
userResource = httpResource<User>(() => `/api/users/${this.userId()}`);
// With full request options
userResource = httpResource<User>(() => ({
url: `/api/users/${this.userId()}`,
method: 'GET',
headers: { 'Authorization': `Bearer ${this.token()}` },
params: { include: 'profile' },
}));
// With default value
usersResource = httpResource<User[]>(() => '/api/users', {
defaultValue: [],
});
// Skip request when params undefined
userResource = httpResource<User>(() => {
const id = this.userId();
return id ? `/api/users/${id}` : undefined;
});
```
### Resource State
```typescript
// Status signals
userResource.value() // Current value or undefined
userResource.hasValue() // Boolean - has resolved value
userResource.error() // Error or undefined
userResource.isLoading() // Boolean - currently loading
userResource.status() // 'idle' | 'loading' | 'reloading' | 'resolved' | 'error' | 'local'
// Actions
userResource.reload() // Manually trigger reload
userResource.set(value) // Set local value
userResource.update(fn) // Update local value
```
## resource() - Generic Async Data
For non-HTTP async operations or custom fetch logic:
```typescript
import { resource, signal } from '@angular/core';
@Component({...})
export class Search {
query = signal('');
searchResource = resource({
// Reactive params - triggers reload when changed
params: () => ({ q: this.query() }),
// Async loader function
loader: async ({ params, abortSignal }) => {
if (!params.q) return [];
const response = await fetch(`/api/search?q=${params.q}`, {
signal: abortSignal,
});
return response.json() as Promise<SearchResult[]>;
},
});
}
```
### Resource with Default Value
```typescript
todosResource = resource({
defaultValue: [] as Todo[],
params: () => ({ filter: this.filter() }),
loader: async ({ params }) => {
const res = await fetch(`/api/todos?filter=${params.filter}`);
return res.json();From manu14357/zskills, MIT.
More from manu14357/zskills
- 0.555score
c4-architecture
manu14357
Generate architecture documentation using C4 model Mermaid diagrams.
SkillCFreshness: C★ 16Claude Code +9 - 0.550score
backend-to-frontend-handoff-docs
manu14357
Create API handoff documentation for frontend developers.
SkillCFreshness: C★ 16Claude Code +9 - 0.547score
ai-engineering-toolkit
manu14357
6 production-ready AI engineering workflows: prompt evaluation (8-dimension scoring), context budget planning, RAG pipeline design, agent security audit…
SkillCFreshness: C★ 16Claude Code +9 - 0.547score
ai-dev-jobs-mcp
manu14357
Search 8,400+ AI and ML jobs across 489 companies, inspect listings and employers, match roles, and view salary and market stats via AI Dev Jobs MCP
SkillCFreshness: C★ 16Claude Code +9 - 0.538score
ai-product
manu14357
Every product will be AI-powered.
SkillCFreshness: C★ 16Claude Code +9 - 0.538score
ai-md
manu14357
Convert human-written CLAUDE.md into AI-native structured-label format.
SkillCFreshness: C★ 16Claude Code +9 - 0.519score
agent-manager-skill
manu14357
Manage multiple local CLI agents via tmux sessions (start/stop/monitor/assign) with cron-friendly scheduling.
SkillCFreshness: C★ 16Claude Code +9 - 0.513score
agent-memory-systems
manu14357
Memory is the cornerstone of intelligent agents.
SkillCFreshness: C★ 16Claude Code +9 - 0.485score
browser-testing-with-devtools
manu14357
Tests in real browsers.
SkillDFreshness: D★ 16Claude Code +9 - 0.481score
azure-cloud-migrate
manu14357
Plan and execute cloud migrations to Azure from on-premises or other clouds.
SkillDFreshness: D★ 16Claude Code +9 - 0.481score
azure-aigateway
manu14357
Design an Azure AI gateway layer for centralized model routing, policy enforcement, and operational control.
SkillDFreshness: D★ 16Claude Code +9 - 0.481score
appinsights-instrumentation
manu14357
Instrument applications with Azure Application Insights and OpenTelemetry for end-to-end observability.
SkillDFreshness: D★ 16Claude Code +9
Signals
- Stars
- 16
- Forks
- 2
- Open issues
- 0
- Last commit (this folder)
- Apr 27, 2026 (6 months ago)
- Last release
- Apr 26, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/manu14357/zskills
- Website
- zskills.vercel.app
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.661score
angular-http
Kilo-Org
Implement HTTP data fetching in Angular v20+ using resource(), httpResource(), and HttpClient.
SkillAFreshness: A★ 195Claude Code +9 - 0.315score
angular-http
jisjohnsajan
Implement HTTP data fetching in Angular v20+ using resource(), httpResource(), and HttpClient.
SkillBFreshness: BClaude Code +9
More from manu14357
- 0.555score
c4-architecture
manu14357
Generate architecture documentation using C4 model Mermaid diagrams.
SkillCFreshness: C★ 16Claude Code +9 - 0.550score
backend-to-frontend-handoff-docs
manu14357
Create API handoff documentation for frontend developers.
SkillCFreshness: C★ 16Claude Code +9 - 0.547score
ai-dev-jobs-mcp
manu14357
Search 8,400+ AI and ML jobs across 489 companies, inspect listings and employers, match roles, and view salary and market stats via AI Dev Jobs MCP
SkillCFreshness: C★ 16Claude Code +9 - 0.547score
ai-engineering-toolkit
manu14357
6 production-ready AI engineering workflows: prompt evaluation (8-dimension scoring), context budget planning, RAG pipeline design, agent security audit…
SkillCFreshness: C★ 16Claude Code +9 - 0.538score
ai-md
manu14357
Convert human-written CLAUDE.md into AI-native structured-label format.
SkillCFreshness: C★ 16Claude Code +9 - 0.538score
ai-product
manu14357
Every product will be AI-powered.
SkillCFreshness: C★ 16Claude Code +9
Cite this page
angular-http skill. Agent Mart. https://agentmart.dev/skills/manu14357-angular-http (last updated 2026-10-24)