I am working on a very long form in angular. I would like to know if I can break it up into many different views and reference each of them in the main view.
<div class="container">
<div class="row" id="part1">
<div class="col-md-12">First Section</div>
</div>
<div class="row" id="part2">
<div class="col-md-12">Second Section</div>
</div>
<div class="row" id="part3">
<div class="col-md-12">Third Section</div>
</div>
...
</div>
Since my file is too long, is there a way using angular to have each section in a separate file and reference each of them in the main file? For example:
<div class="container>
"import section 1"
"import section 2"
"import section 3"
</div>
Thanks.

ngIfto only show selected dics[ngSwitch]is a better option for your case I guess