title: How to pass parameter from simple html page to another angular page using form post method?
body: <p>this is my simple test.html file and i wanted to pass employeeId to localhost:4200/homePage. When i use get method then it working fine but with post getting error Cannot Post</p>
  
  <pre><code>&lt;form action="localhost:4200/homePage" name="goToAngular" method="post"&gt;
  &lt;input type="text" name="employeeID" value="" id="apiUrl" id="employeeID"/&gt;
  &lt;input type="submit" value="go"/&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>On the homePage-component.ts file i am using this code--</p>
  
  <pre><code>this.route.queryParams.subscribe((params: Params) =&gt; 
  this.empID = params['employeeID'];
  }
  </code></pre>