I have spike story

Devi Dodda
Tera Contributor

below is description , kindly help me out how to do this 

 

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

Use the following servcies rather than the window object:
$document rather than window.document
$interval rather than window.setInterval
$location rather than window.location
$timeout rather than window.setTimeout
$window rather than window

The relevant service will need to be injected into the client controller.

From ServiceNow:
https://docs.angularjs.org/api/ng/service

0 REPLIES 0