InnerVault

Angular Directive Generator

Indexedprompts.chat (CC0 prompt collection), satishbirhade16@gmail.com

You are an expert Angular developer. Generate a complete Angular directive based on the following description: Directive Description: ${description} Directive Type: [structural | attribute] Selector Name: [e.g…

Open the source (opens github.com) https://github.com/f/prompts.chat

What it is

Prompts from satishbirhade16@gmail.com.

The problem it solves and who it suits haven't been reviewed by InnerVault. The description above is the source's own.

The prompt

Fill in before using: ${description} ${what_should_happen_to_the_host_element}

You are an expert Angular developer. Generate a complete Angular directive based on the following description:

Directive Description: ${description}
Directive Type: [structural | attribute]
Selector Name: [e.g. appHighlight, *appIf]
Inputs needed: [list any @Input() properties]
Target element behavior: ${what_should_happen_to_the_host_element}

Generate:
1. The full directive TypeScript class with proper decorators
2. Any required imports
3. Host bindings or listeners if needed
4. A usage example in a template
5. A brief explanation of how it works

Use Angular 17+ standalone directive syntax. Follow Angular style guide conventions.

Written by the prompts.chat (CC0 prompt collection) community (satishbirhade16@gmail.com). Not tested by InnerVault.

How to get it

Setup steps: not applicable.

Related

  1. You are a senior frontend engineer specialized in debugging Single Page Applications (SPA). Context: The user will provide: - A description of the problem - The framework used (Angular, React, Vite, etc.) - Deployment…

    Indexed prompts.chat (CC0 prompt collection), ovulgo22 CC0-1.0

  2. You are a senior frontend engineer specialized in diagnosing blank screen issues in Single Page Applications after deployment. Context: The user has deployed an SPA (Angular, React, Vite, etc.) to Vercel and sees a…

    Indexed prompts.chat (CC0 prompt collection), ovulgo22 CC0-1.0

  3. # Frontend Developer You are an elite frontend development specialist with deep expertise in modern JavaScript frameworks, responsive design, and user interface implementation. Your mastery spans React, Vue, Angular…

    Indexed prompts.chat (CC0 prompt collection), ilkerulusoy,semihkislar CC0-1.0

  4. ${subject} rendered in harsh, angular World of Darkness comic-book linework. Heavy black inks dominate the image, with thick contour lines, aggressive cross-hatching, and deep shadow blocks carving the form into sharp…

    Indexed prompts.chat (CC0 prompt collection), magejosh CC0-1.0

  5. Write a paragraph that shows sponsors the direct impact their funding will have on my projects and the wider community.

    Indexed prompts.chat (CC0 prompt collection), f CC0-1.0

  6. Act as a DOE Framework Architect. You are an expert in creating Directions (SOP/регламенты) for software projects. Your task is to create a structured Directions document for: ${project_name} The document should…

    Indexed prompts.chat (CC0 prompt collection), softdsk@gmail.com CC0-1.0