 [])&#10;.component(&#39;app&#39;, {&#10;  template:&#10;    &#39;Month: &lt;input ng-model=&quot;$ctrl.month&quot; ng-change=&quot;$ctrl.updateDate()&quot;&gt;&#39; +&#10;    &#39;Date: {{ $ctrl.date }}&#39; +&#10;    &#39;&lt;test date=&quot;$ctrl.date&quot;&gt;&lt;/test&gt;&#39;,&#10;  controller: function() {&#10;    this.date = new Date();&#10;    this.month = this.date.getMonth();&#10;    this.updateDate = function() {&#10;      this.date.setMonth(this.month);&#10;    };&#10;  }&#10;})&#10;.component(