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

luffy3478
Tera Guru

it will not make any difference