AngularJS控制器无法注入$uibModal?已试同类方案无效求助
求助:AngularJS 按钮触发模态框无效,已尝试同类方案未解决
我已经在社区里搜过同类问题,也试了大家分享的各种解决方案,但都没搞定,只能来这里提问了。
我的 HBS 模板代码
<link data-require="bootstrap-css@*" data-semver="3.3.6" rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.css" /> <title>UI</title> <div ng-controller="appCtrl"> <button type="button" ng-click="openModal()">Abc</button> </div> <script type="text/ng-template...
注:代码后面的模态框模板内容没粘贴完整,核心需求是点击按钮调用openModal()方法打开模态框,但目前这个功能完全没反应,或者存在其他异常。
内容的提问来源于stack exchange,提问作者Xander
相关产品推荐
相关产品推荐

