Directive in the nav bar affects in the aligment of header title

I’m applying a custom directive, well, it is based on the Frosted Glass Blur directive but without cloning the content.

When the page loads the directive is applied well and the nav bar and header title are displaying correctly but when I change of view the header title disappears. In fact, the header title does not disappear but instead the alignment values are like:

<h1 class="title ng-binding" ng-bind-html="title" style="left: 1290px; right: 1285px;">BLABLABLA</h1>

How I can fix this?

Thanks!

1 Like