采用了棱角分明表带modulerr

采用了棱角分明表带modulerr

本文介绍了$喷油器:采用了棱角分明表带modulerr?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想获得与角带指示走,但遇到一个模块初始化错误的最简单的设置。我有双重检查亿万倍,但不能看到什么我可能会丢失。

I am trying to get going with angular-strap directives, but encountering a module initialization error with the simplest setup. I have double checked a zillion times but can't see exactly what I might be missing.

下面是一个plunker链接:

Here is a plunker link: http://plnkr.co/edit/H1VrF63GeSQWLXHDVIW7

我得到的错误是:

Error: [$injector:modulerr] Failed to instantiate module mgcrea.ngStrap due to:
Error: [$injector:nomod] Module 'mgcrea.ngStrap' is not available! You either misspe...  <omitted>...1)

我看了,但它并没有回答我的问题因为我不使用ngSanitize或路由。这很简单,因为它得到。

I read this response, but it didn't answer my question as I am not using ngSanitize or routes. This is as simple as it gets.

感谢

推荐答案

您需要普拉克角动画,其中角带。

Your plunk needs angular-animate, which angular-strap depends on.

<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.10/angular.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.10/angular-animate.min.js"></script>

这篇关于$喷油器:采用了棱角分明表带modulerr?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 09:26