angular.js - How angularJs implements the introduction of different js files into different pages
滿天的星座
滿天的星座 2017-05-15 16:52:08
0
3
613

I want to divide directories according to functions, but how can I introduce different js files into different pages? I can’t load all the js files of all projects at once, right?

Additional: What we need to do now is a more complex backend system, video and picture upload content. Can Angular integrate these plug-ins? The newbie is very panicked==

滿天的星座
滿天的星座

reply all(3)
巴扎黑

angularJs project practice: module division and directory organization

How to build a single-page application with AngularJS and load JS files according to requirements

伊谢尔伦

Angular can only import js files that already exist in the project as modules in the corresponding place. It cannot achieve what you said by importing the project in the corresponding place. If you want to realize different interfaces loading different js, you can only use other technologies

仅有的幸福

The author can use requirejs + angularjs

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template