Add a js script only some pages


#1

hi,
I use babylonjs for my project, which relies on hand.js.
But hand.js seems to blok ionic touch events…
is it possible to include this line only in some views ?


#2

You could probably do some kind of work around where You add hand.js to the head of your document through a custom directive in certain views and remvoe it in others.

But the best thing would be to find out why this is happening and potentially not include hand.js at all.