title: Use AntiForgeryToken with ASP.NET 5 and Angular
body: <p>On an ASP.NET 5 RC1 I have the following</p>
  
  <pre><code>[HttpPost]
  public async Task&lt;IActionResult&gt; Create([FromBody]Post post) {
    // Create post
  }
  </code></pre>
  
  <p>I have a CreatePost.html template used by angular with the form:</p>
  
  <pre><code>&lt;form ng-controller="CreatePostController" ng-submit="create()"&gt;
    &lt;label&gt;Title&lt;/label&gt;
    &lt;input type="text" name="title"&gt;
    &lt;label&gt;Content&lt;/label&gt;
    &lt;input type="text" name="content"&gt;
    &lt;button type="submit"&gt;Create&lt;/button&gt;
  &lt;/form&gt;
  </code></pre>
  
  <ol>
  <li><p>The is in an HTML page. How to render the ASP.NET AntiForgeryToken?
  Can I create one on page head and use on all my website forms?</p></li>
  <li><p>How to send the token when I call the API and verify it?</p></li>
  </ol>