Service Portal - Call Widget Client Controller from ng-angular-template

Kalik1
Tera Expert

How to call the client controller function from ng-angular-template in a widget? 

 

I am unable to call a function from ng-angular-template. Please help.

4 REPLIES 4

Community Alums
Not applicable

Example ?

jaheerhattiwale
Mega Sage
Mega Sage

@Kalik1 Please write the client side function in controller of angular provider.

Code needs some update as below. c should be changed to $scope.

 

Please mark as correct answer if this solves your issue.

Please mark the answer as correct or helpful based on impact
ServiceNow Community Rising Star, Class of 2023

it is not working for me 😕