I have an Angular 1.3 app using UI router. I have a view for the pages and a directive for the header and another for the footer.
<body ng-controller="AppCtrl as app">
<!-- header -->
<div header></div>
<!-- content -->
<div ui-view=""></div>
<!-- FOOTER -->
<div footer></div>
There are some states in my app where I do not want to display the header and/or footer. How is that done?
ng-hide
orng-show
and set visibility from controllers – valverde93