I am trying to follow how ng-show and ng-hide work. I want a form to be shown when my REST call is a success and an error message if call returns me a null value.
I also went through AngularJS: ng-show / ng-hide
but still not following how they exactly work. Can anyone help?