Angular Feature
Now that we have the directive ready, we can create a new feature.. which is technically a page.
php artisan ng:feature create_post
Then inside the angular/app/create_post/create_post.html we need to call the create_post directive.
<h1>Create Post</h1>
<create-post-form></create-post-form>
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.
Updated less than a minute ago
