How to make my ng-if stop showing after function success

0 votes
asked Mar 16, 2016 by cebhaar (640 points)
I want my ng-if="AddEmp" to go false after my ng-click function has succeeded so content in ng-if doesn't show longer, but I can't seem to make it happen.

3 Answers

0 votes
answered Jun 2, 2016 by OfHilgert (570 points)
selected Jun 4, 2016 by Kenne8385
Best answer
I recommend to use this site for image encoding
commented Jun 3, 2016 by Has_Checked (1,440 points)
I too have had a problem with this
0 votes
answered Jun 1, 2016 by Anywherena (550 points)
Stumbled upon this issue recently. Now download the source code from JavaScript Timers with setTimeout and setInterval - Elated here you will get best example
commented Jun 3, 2016 by Havethey (100 points)
This should center the div
0 votes
answered Jun 2, 2016 by Were_When (1,350 points)
This may help but you would have to code it yourself

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!