I have a problem whit ng-show or ng-if in AngularJS, because I have, for example, this code:
<div id="publicidad-principal" ng-if="publicidadPrincipal"></div>
and in the controller I have the correct way:
$scope.publicidadPrincipal = false;
Now, when I open the page, for a second i see the DIV and then it is hidden, my question is: are there any way to have the div all the time hidden? then you can push a button and show it, but this is not the problem.