title: Hide and Show in angularjs
body: <p>I am new in angularJs .</p>
  
  <p>This is my bit level view</p>
  
  <pre><code>&lt;input type="text" ng-model="todoName" size="30"
              placeholder="Add Your Name"&gt;
          &lt;input type="text" ng-model="todoAge" size="30"
              placeholder="Add Your Age"&gt;
          &lt;input type="hidden" ng-model="todoId" /&gt;
          &lt;form style="display:'?????????'" ng-submit="addTodo()"&gt;
              &lt;input class="btn-primary" type="submit" value="add"&gt;
          &lt;/form&gt;
           &lt;form style="display:'?????????'" ng-submit="addTodo()"&gt;
              &lt;input class="btn-primary" type="submit" value="update"&gt;
          &lt;/form&gt;
  </code></pre>
  
  <p>and this is my angularjs bit level coding</p>
  
  <pre><code>$scope.DisplayUpdate = "none";
  </code></pre>
  
  <p>I have one screan for  manage student details, i want to show add button when first time at this time hide update button , and when update time to show update button and at this time add button was need to hide .</p>
  
  <p>see this line for set to hide and show details in script side using angular js :  <code>$scope.DisplayUpdate = "none";</code></p>
  
  <p>How to i set this value in my button style ?</p>
  
  <pre><code> &lt;form style="display:'?????????'" ng-submit="addTodo()"&gt;
                  &lt;input class="btn-primary" style="display:'?????????'" type="submit" value="add"&gt;
              &lt;/form&gt;
  </code></pre>