Use $parse to fetch the model from $scope for comparison