Dynamically build and display HTML forms using AngularJS