Answer the question
In order to leave comments, you need to log in
How to make scripts work when switching pages in angular?
jquery plugins stop working when switching pages. (pages are inserted into ng-view )
Plugins are initialized in one main.js file. This file is included in the main template.
Is there any way to reconnect this script or something ... Or the only way is to pull out all the initializing scripts from main.js and insert them into each page
Answer the question
In order to leave comments, you need to log in
All jQuery plugins must be called in their respective directives.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question