Revision 1.0.1: $scope.$apply() only when not using readOnly mode