what it does is: 1. When a change occurs the change detector compares for each expression in the template the current value of the property used in the expression with the previous value. 2. If the property value before and after is different, it sets isChanged to true.