Now we need to create our first component which will contain the form that the user needs to fill in order to add a new **Post**.
Components encourage code reuse
Aim to create a component for every feature so that you can reuse it later on.
angular/app/components/create_post_form/create_post_form.component.html` in your editor and add the relevant HTML form.
And then update your `
create_post_form.component.js` code to write the controller's logic
Then you need to edit your angular/index.components.js to import this component
Prefer a screencast?
(Script tags will be stripped)