I'm using ng-show and ng-click to hide the login prompt of my application. The issue is my ng-click event isn't showing my form.
My html page
<div ng-if="config.getUser()!= null">
    Welcome {{config.getUser().username}} <span ng-click = "config.logout()">logout</span>
</div>
<div ng-if="config.getUser()== null">
    <button ng-click="show=true">login</button>
</div>
<div ng-show="show">
    <form name="login" id="login" ng-submit="config.loginUser(user)">
        <label for="login-username">Username</label> 
        <input ng-model="user.username" type="text" id="login-username"> 
        <label for="login-password">Password</label>
        <input ng-model="user.password" type="password" id="login-password"> 
        <input type="submit" value="Login">
        <p id="form-messages"></p>
    </form>
</div>
