Usage Of Window Objects Instead Of AngularJS Services

< 1 min read

Impact Area

Manageability

 

 

Severity

High

 

 

Affected Element

UI Scripts

Portal Angular Provider

Portal Widgets – Client Script

Rule ID #

SN-0413

Impact #

 AngularJS constantly supervises your application, and for it to handle changes and events properly, AngularJS recommends that you use its services rather than window objects.

Remediation #

Replace all uses of window methods with native AngularJS services where possible.

Time to fix #

20 min

Updated on March 21, 2025
Was it helpful ?