Question: Can I forward to an angular page from a non-angular page and pass couple of parameters from the non-angular page using form submit (post).
Non Angular page (page 1) with a form (param1 and param2) -> Submit form to an angular page URL (page 2). How can I access the param1 and param2 in page 2?
Flow would be like,
- A non-angular page with a form like below
- Submit the form to an angular page URL
In #2, can angular be able to read off the parameters passed in the post request.
HTML form submit (lets say with two input params)
<form method="POST" action="<angularPageURL>">
<input type="text" name="param1" value="1" />
<input type="text" name="param2" value="ABC" />
<input type="submit" value="Submit to Angular Page" />
</form>