How to access $scope variable (defined in client script) in html part of widget?

Ankita Kolhe
Tera Contributor

Hi Community,

 

I want to access 'curret_pos' value which is defined in client script in html code- ng-show. But it seems like it's not working.

 

Highlighted the same on below screenshot:-

 

AnkitaKolhe_0-1716983707939.png

Could someone please help what's issue in ng-show="c.curret_pos != 10" & help me with correct code?

 

Thanks,

Ankita

1 REPLY 1

palanikumar
Giga Sage

can you try this line in Client controller and see whether the issue is fixe

c.curret_pos = 10

Thank you,
Palani