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

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

post - imageshack API cURL -