public function getNgShowCondition($ngModel)
    {
        preg_match_all('/{(.*?)}/', $this->condition, $matches, PREG_SET_ORDER);
        $search = [];
        $replace = [];
        foreach ($matches as $match) {
            $search[] = $match[0];
            $replace[] = $this->replaceFieldFromNgModelContext($ngModel, $match[1]);
        }
        
        return str_replace($search, $replace, $this->condition);
    }