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


0 votes
asked Mar 16, 2016 by gonzolezPuhl (490 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

+1 vote
answered May 22, 2016 by Parentheses (950 points)
 
Best answer
This really useful example
+1 vote
answered May 10, 2016 by gue_5760 (430 points)
Here is a very good tutorial for it jQuery.ajax() | jQuery API Documentation
More about the keyword here at this article
commented May 11, 2016 by Linero_3875 (530 points)
I did some research and found this here
0 votes
answered May 17, 2016 by ire_8870 (720 points)
But you could have a look at this How to: Follow documents, sites, and tags by using the ... adapt it to your needs
The first couple sections have some good points about classes vs objects

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!







...