title: Adding 2 input values without NaN if input value is empty. AngularJS
body: <p>I have a part in my form that takes in 2 input numbers and adds them together and displays the result.</p>
  
  <pre><code>&lt;input type="number" ng-model="numb1" ng-blur"addInputs()"&gt;
  &lt;input type="number" ng-model="numb2" ng-blur"addInputs()"&gt;
  &lt;p&gt;&lt;span ng-bind="sumOfNumbs"&gt;&lt;/span&gt;
  </code></pre>
  
  <p>this is the Angular</p>
  
  <pre><code>numb1 = 0
  numb2 = 0
  addInputs = function() {
      sumOfNumbs = numb1 + numb2;
  }
  </code></pre>
  
  <p>But if you delete all the contents of either of the  &lt; inputs>  it displays NaN
  because numb1 or numb2 is equal to Null.
  How do i stop this?</p>