I'm using SPA I use AngularJS and UI-ROUTE
I want to click on a menu item to write the selected item in a bar that is in the header and not in the ui-view. I can assign the value to a $ scope variable in the controller, but there is no markup on the page
<div ng-controller="CtrlHome">
<h1>Menu</h1>
<ul >
<li >
<a ui-sref="home" class="dropdown-toggle" data-toggle="dropdown">Home </a>
</li>
<li >
<a ui-sref="pedido" class="dropdown-toggle" data-toggle="dropdown">Pedido</a>
</li>
</ul>
</div>
<div>
<p>Item Selecionado: {{pagina}}</p>
</div>