moved form to angular template