# Sample Project

The WireBootstrap for Angular solution includes a sample project that demonstrates how to use WireBootstrap within the Angular framework.

## Pipeline

The sample is a standard Angular project [created with the Angular CLI](https://angular.io/guide/component-overview). &#x20;

The classes needed for the sample are registered in the application's module file at `\src\app\app.module.ts`.

![app.module.ts](/files/Yw6Zu5BOtCOmVH3zPChU)

The example page view components in the sample are used in the `\src\app\app.component.html` template.

![app.component.html](/files/1Gn5VVeqcHf1Mi9ZBmvH)

## Data

The sample data used in the project is the same data used in the [WireBootstrap for Gentelella](https://docs.wirebootstrap.com/themes/sample-data) theme project. &#x20;

This data and the classes supporting data access are located in the project at `\src\app\sample\data`.

### Data Service

The data service at `\src\app\sample\data\sample-data-service.ts` defines a [DataSet](https://docs.wirebootstrap.com/wirebootstrap/datasets) that uses the sample data source.  This service is imported and defined as an Angular component provider in the example page view components.

![example1.component.ts](/files/nXtAGgx4F78UNiPRSVHm)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wirebootstrap.com/angular/sample-project.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
