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==
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