Prerequisites

To get the most out of this guide, you’ll need to:

1. Create a Angular project

ng new formizee-angular-example

2. Update the main page

Update the file under src/app/app.component.html with the next code, then add your Endpoint URL.

app.component.html
<main>
  <form method="post" action="<your-endpoint-url>">
    <label for="name">
      Name
      <input id="name" autoComplete="name" name="name" />
    </label>
    <label for="email">
      Email
      <input id="email" autoComplete="email" name="email" />
    </label>
    <button>Submit</button>
  </form>
</main>

<router-outlet />

3. Run in local

  ng serve

4. Try it yourself

Formizee Angular Example

See the full source code