我正在开发一个网络应用程序.我使用AngularJS将所有文件动态加载到UI中.
1.我有和index.html,所有文件将在点击或加载时动态加载.
//index.html
// etc.,
//on-clicking signin button a SignIn-page will load in the below div
// end of index.html
现在我的登录页面看起来有点像下面的结构
/*a div where my accordion menu will load when the
*below submit button is clicked*/
//other sign-in-form stuff will follow on...
//submit button at the end
//only on clicking the submit button the menu will be loaded
现在我的问题是,虽然我可以加载手风琴menu.html文件,我无法加载它依赖的css和js文件.我已经研究了大多数stackoverflow讨论和很多其他..但没有一个为我工作.
任何人都可以帮助确定使用Angular JS加载css和js依赖关系的方法?
任何帮助不胜感激提前致谢