Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Remove Unused Services From Client script

Nikita35
Kilo Guru

In the health scan report, servicenow has identified 73 instances where services are unused in the client controller.

For Example 

Client controller code:

function($scope) {
/* widget controller */
var c = this;
}

Above instance is identified where $scope is defined but not used in the script.

I want to understand the dependancies of this.

If I proceed to remove this and update like below - will it make any difference?

function() {
/* widget controller */
var c = this;
}

1 REPLY 1

chaithu1489
Kilo Sage

it will not make any difference