Instead of repeating the same content all over, creating templates and utilizing the ng-include
directive can provide a more efficient approach for maintaining consistency in your navbar and footer.
An alternative method would be to implement nested views, which can be achieved with tools like ui-router. For more information on how ui-router works, check out these informative slides.
In the nested view strategy, you can establish a primary application view that contains three distinct child views:
Container View
|
| - - NavBar View
|
| - - Main View
|
| - - Footer View
You also have the option to further enhance this structure by incorporating additional subviews such as sidebars.