Whenever I hover over a link, it triggers a change in a variable value which then displays a <p>
tag using ng-if. The code snippet looks like this:
<div class="position text-center" ng-mouseover="social=1" ng-mouseleave="social=-1">
<a href="#6thPage">something</a>
</div>
Here is the ng-if section:
<div class="col-md-12 center-block text-center grey" ng-if="social == 1">
<p class="fadeInDown animated">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptates quibusdam ullam tenetur facilis cupiditate iusto laudantium, ex nobis.</p>
</div>
Everything works fine when I remove the fadeInDown and animated classes. However, as shown above, there's a slight flicker when I move my mouse over the link.