hide submit button again after clicking (ng-show - form validation)
<p>I have the following code, which shows the a.btn anchor if both inputs have values and inputURL is a valid URL. Works fine but I want to hide the button again on click, how do I do this, do I reset the form or actually hide the  button on click?</p>

<pre><code>  &lt;form name="myForm" class="row inputs"&gt;
      &lt;div class="col-xs-5"&gt;
          &lt;label for="exampleInputPassword1"&gt;Enter a Title/Description&lt;/label&gt;
            &lt;input name="inputName" type="text" id="urlName" class="form-control" placeholder=""  ng-model="mvName" required&gt;
        &lt;/div&gt;
        &lt;div class="col-xs-5"&gt;
            &lt;label for="exampleInputPassword1"&gt;Enter a URL&lt;/label&gt;
            &lt;input type="url" name="inputURL" id="urlLink" class="form-control" placeholder=""  ng-model="mvUrl" required&gt;
      &lt;/div&gt;
      &lt;div class="col-xs-2"&gt;
          &lt;a href="javascript:" ng-click="saveToList($event)" class="btn btn-block post" ng-show="myForm.$valid"&gt;Post&lt;/a&gt;
      &lt;/div&gt;

    &lt;/form&gt;
</code></pre>