I have created a recursive template the html for which is as follows(app-saq-option creates the radio button)