I have a simple angular application (https://angular.io/resources/live-examples/toh-6/ts/eplnkr.html) and I am attempting to add graphical overlays using hopscotch.js (http://linkedin.github.io/hopscotch/). I got hopscotch to run successfully from my index.html by calling this script:
` //my_tour.js
// Define the tour!
var tour = {
id: "hello-hopscotch",
steps: [
{
title: "My Header",
content: "This is the header of my page.",
target: "title",
placement: "bottom"
}
]
};
// Start the tour!
hopscotch.startTour(tour);`
but when trying to make it apart of my angular app I cannot/do not know how to correctly connect it with its dependencies(hopscotch.js, hopscotch.css). I am very new to angular2 and have spent most of today researching this but to no avail. Something as simple as a .ts file that is apart of my app and can make a call to hopscotch.startTour(tour); would be sufficient. Any help would be appreciated! Thanks.