How do I use "window.Twitch.ext" in angular for using the Configuration Service?

Adding the script to the index.html should make it accessible globally right? i.e. to all the routes and components.