&#39;test&#39;, {&#10;  bindings: { date: &#39;&lt;&#39; },&#10;  template:&#10;    &#39;&lt;pre&gt;{{ $ctrl.log | json }}&lt;/pre&gt;&#39;,&#10;  controller: function() {&#10;    var previousValue;&#10;    this.log = [];&#10;    this.$doCheck = function() {&#10;      var currentValue = this.date &amp;&amp; this.date.valueOf();&#10;      if (previousValue !== currentValue) {&#10;        this.log.push(&#39;doCheck: date mutated: &#39; + this.date);&#10;        previousValue = currentValue;&#10;      }&#10;  