I have spike story
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2024 02:24 AM
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