javascript - How can I access loaded scripts in index.html via ng-included templates? -


i'm angularjs-beginner , i've started using ng-include better structure html blocks.

i'm using jquery.scrollto.js add button scroll top. i've noticed if place button inside tpl-footer.html , load via ng-inlcude while having jquery.scrollto loaded in index.html, won't work. either have place button inside index.html or load jquery.scrollto.js inside tpl-footer.html.

my question: how can access loaded scripts in index.html via ng-included templates?

cheers!


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -