angular.module(&#39;do-check-module&#39;, [])&#10;.component(&#39;test&#39;, {&#10;  bindings: { items: &#39;&lt;&#39; },&#10;  template:&#10;    &#39;&lt;pre&gt;{{ $ctrl.log | json }}&lt;/pre&gt;&#39;,&#10;  controller: function() {&#10;    this.log = [];&#10;&#10;    this.$doCheck = function() {&#10;      if (this.items_ref !== this.items) {&#10;        this.log.push(&#39;doCheck: items changed&#39;);&#10;        this.items_ref = this.items;&#10;      }&#10;      if (!angular.equals(this.items_clone, this