title: Adding the input fields dynamically from nested json object in angulajs
body: <pre><code> var inputs={
      'firstname': '',
      'lastName':'',
     'account':{
       'role':'',
       'status':''
     }
   }
  </code></pre>
  
  <p>This is my model array. I want to display it dynamically in Webpage and by modifying the json array the changes should affect the form too.</p>
  
  <p>Here is the image
  <a href="https://i.stack.imgur.com/HulkG.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HulkG.jpg" alt="enter image description here"></a></p>