How to add number of days to existing ng-module date in angularjs?
<p>Hi all I'm new to angularjs actually i'm trying to add one <code>ng-module</code> value into another ng-moudule <code>date input</code> in angularjs...
For exmaple:- 17-08-2016  add 20  Result Expecting 03-09-2016.
<a href="http://plnkr.co/edit/1t1trzxzk3Dd9jbgqcPi" rel="nofollow">my plunk</a></p>

<p>i don't know where i did the mistake and how to get the solution, please if anyone knows the answer help me for the same thanks.</p>

<p><strong>My controller</strong></p>

<pre><code> $scope.name = {
"_id": "57ac1b6d82e1c5940ac3c730",
"user": {
"_id": "57400c32bd07906c1308e2cf",
"displayName": "mani selvam"
},
"__v": 0,
"terms": "20",
"invoice_date": "2016-08-17",
"due_date": ""
};

Date.prototype.addDays = function(days) {
    this.setDate(this.getDate() + parseInt(terms));
    return this;
};
</code></pre>

<p><strong>My Html:-</strong></p>

<pre><code> &lt;tr ng-repeat="mani in name"&gt; &lt;/tr&gt;
      &lt;td &gt;{{name.invoice_date | date:'dd-MM-yyyy'}}&lt;/td&gt;
          &lt;td &gt;{{name.terms }}&lt;/td&gt;
             &lt;td &gt;{{name.invoice_date | date:'dd-MM-yyyy'}} + {{name.terms }}&lt;/td&gt;
</code></pre>