I'm currently working on an app that utilizes ui router to append all HTML data to the following tag:
<div class="app" ui-view >
However, I want to add a header and footer to my app. My question is, should I include them in the index.html like this:
<div ng-controller="top" header></div>
<div class="app" ui-view >
<div ng-controller="bottom" footer></div>
Or would it be better to include two directives - header & footer - in every HTML page?