---
agentTools:
  projectIndex: https://laravel-angular.readme.io/v3.2/llms.txt
---

# Angular Page

Now that we have the component ready, we can create a new page. Pages are meant to hold up components together. Just like you would do with lego blocks. Every component is a lego block, and then your page would consist of one or more components.

```
php artisan ng:page create_post
```

Then inside the `angular/app/pages/create_post.page.html` we need to call the createPostForm component.

[block:code]
{
  "codes": [
    {
      "code": "<h1>Create Post</h1>\n\n<create-post-form></create-post-form>",
      "language": "html",
      "name": "create_post.html"
    }
  ]
}
[/block]

This might feel repetitive, but we're actually benefiting of code reuse (for the create\_post component). We can also add the relevant page title here, or even call other directives in more complex examples.

> Prefer a screencast?

[block:html]
{
  "html": "<iframe width=\"560\" height=\"315\" src=\"https://www.youtube.com/embed/_ZWV9KBK2N8\" frameborder=\"0\" allowfullscreen></iframe>"
}
[/block]