Angular is dependent on injection. Generally, a plug-in is a module of angular.module, and then defines some services or instructions (maybe more than one), and then uses it, such as angular.module("myApp",["ngRoute"]) introduced like this, so generally a plug-in (or a module) is Generated by a combination of multiple instructions, multiple services, etc. .
angular.module is the import of the overall module and the dependency injection of provider, server and other plug-ins, which means that the API exposed by the module can be used by the app. The directive is also part of the overall module and is used in the view part of the mvc in the app
Angular is dependent on injection. Generally, a plug-in is a module of angular.module, and then defines some services or instructions (maybe more than one), and then uses it, such as
angular.module("myApp",["ngRoute"])
introduced like this, so generally a plug-in (or a module) is Generated by a combination of multiple instructions, multiple services, etc. .angular.module is the import of the overall module and the dependency injection of provider, server and other plug-ins, which means that the API exposed by the module can be used by the app.
The directive is also part of the overall module and is used in the view part of the mvc in the app