Angular js : How to create directive for form control
<p>In angular js I want to directive to create directives to manage my dom element.
I want to create custom for text, select radio and checkbox.</p>

<p>I have Json with list of question those I want to ask to user. 
this json has question, its type (<strong>text, select radio and checkbox</strong>) and answer options.</p>

<p>I want to pass que data to directive and use those data while creating html element.</p>

<p>Here I am stuck how to pass que to directive and and use inside directive.</p>