This is something related to this piece
here
My index.html page is
app.js is as below
controller.js is as below
formDetails.html as below
myform.html as below
And finally my controller on the server is
I am expecting that on for submit, myform.html be replaced with formDetails.html on my index page.
But is not happening... the ajax call is going to server obtaining the data and then just remaining on the same page... it updates the same fields in the input box... i want that to be redirected to new page altogether. Again not the whole page but just that small myform.html code with a new formDetails.html piece. How can I achieve that?