Reproduce form in template

I want to have a form where i can prefill some inputs based on the last answer submitted. I should also say I already set the last inputs as global variables.
I want to use this global variables to prefill my form, I don't want to automatically use then, so that the user can still change the data before submiting if he wants to do so.
I know in html I can set the value with value="the value I want'. But i have no ideia what is the best way to do it in dashboard template node.
I have no experience with angularjs so any help or tip that can give me a direction is welcome.