使用 GULP 任务将所有 JS 连接到单个 JS 文件时在 AngularJS 中出错

Getting error in AngularJS while concat all JS into a single JS file using GULP task

我正在玩 Angularjs gulp 任务,当我将所有 JS 文件连接到单个 Js 文件时,运行 应用程序甚至出现以下错误工作正常

"Please DO NOT specify the dropdownSelector option unless you are using jQuery AND Bootstrap.js. Please include jQuery AND Bootstrap.js, or write code to close the dropdown in the on-set-time callback. "

有谁能帮忙吗

您必须先确保 Bootstrap 和 jQuery 已加载,然后再尝试在 Angular 脚本中使用它们。我不确切知道您使用什么包来连接,但您可能能够在配置文件中指定文件的顺序。