# Page Structure

#### .**./src/index.html**

{% code title="index.html" %}

```html
<!DOCTYPE html>
<html lang="en">
  <head>
    <title>Dashboard | Datta Able Angular 17+ Template</title>

    <!-- HTML5 Shim and Respond.js IE11 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 11]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

    <base href="/" />

    <!-- Meta -->
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0, minimal-ui" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta
      name="description"
      content="Datta able angular 17+ admin template made using bootstrap 5.x.x, ng-bootstrap 16.x.x and it has huge amount of ready made feature, UI components, pages which completely fulfills any dashboard needs."
    />
    <meta
      name="keywords"
      content="Admin templates, Bootstrap Admin templates, Angular 17+, Bootstrap 5.x.x, Dashboard, Dashboard Templates, sass admin templates, html admin templates, Responsive, Bootstrap Admin templates free download, Angular 17 Admin templates free download,premium Bootstrap Admin templates,premium Angular 17 Admin templates download"
    />
    <meta name="author" content="Codedthemes" />

    <link rel="icon" type="image/x-icon" href="favicon.ico" />

    <!-- font style -->
    <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600" rel="stylesheet" />
  </head>
  <body>
    <app-root></app-root>
  </body>
</html>

```

{% endcode %}

#### **../src/app/app.component.html**

{% code title="app.component.html" %}

```html
<router-outlet>
    <!-- loadChildren from app-routing.module.ts with admin.component.html or auth.component.html -->
</router-outlet>
```

{% endcode %}

#### **../src/app/app-routing.module.ts**

{% code title="app-routing.module.ts" %}

```typescript
import { AdminComponent } from './theme/layout/admin/admin.component';
import { GuestComponent } from './theme/layout/guest/guest.component';
import { AuthGuard } from './theme/shared/_helpers/auth.guard';

const routes: Routes = [
  {
    path: '',
    component: AdminComponent,
    canActivate: [AuthGuard],

    children: [
      // load children modules with lazy load routing for header, side nav common structure, like, dashboard, blank page, widget, etc..
    ]
  },
  {
    path: '',
    component: GuestComponent,
    children: [
      // load children modules with lazy load routing for without common structure, like login, signup, reset password, lock screen, etc..
    ]
  }
];
```

{% endcode %}

#### **../src/app/theme/layout/admin/admin.component.html**

<pre class="language-html" data-title="admin.component.html"><code class="lang-html">&#x3C;app-navigation>&#x3C;/app-navigation> &#x3C;!-- for side nav - navigation.component.html -->
&#x3C;app-nav-bar >&#x3C;/app-nav-bar>  &#x3C;!-- for header - nav-bar.component.html -->
&#x3C;div class="pcoded-main-container">
  &#x3C;div class="pcoded-wrapper">
    &#x3C;div class="pcoded-content">
      &#x3C;div class="pcoded-inner-content">
        &#x3C;app-breadcrumb>&#x3C;/app-breadcrumb>
        &#x3C;div class="main-body">
          &#x3C;div class="page-wrapper">
            &#x3C;router-outlet>
            &#x3C;!-- page main body - loadChildren as main page body from src/app/demo/... -->
            &#x3C;/router-outlet>
          &#x3C;/div>
        &#x3C;/div>
      &#x3C;/div>
    &#x3C;/div>
  &#x3C;/div>
<strong>  &#x3C;div class="pc-menu-overlay" (click)="closeMenu()" (keydown)="handleKeyDown($event)" tabindex="0">&#x3C;/div>
</strong>&#x3C;/div>
&#x3C;app-configuration>&#x3C;/app-configuration>

</code></pre>

#### **../src/app/theme/layout/guest/guest.component.html**

{% code title="auth.component.html" %}

```html
<router-outlet>
    <!-- loadChildren component for guest.component at app-routing.module.ts for authentication blank pages without nav, header, etc. -->
</router-outlet>
```

{% endcode %}


---

# 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://codedthemes.gitbook.io/datta-angular/v3.2.0-1/page-structure.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.
