Cant use bootstrap of ng


#1

Hi all,
I am trying to add some cool gui on my app.
I am taking bootstrup of ng. My issue when I change my script to the one that req on the web of bootstrup then I am getting error with

angular.js:68 Uncaught Error: [$injector:unpr] Unknown provider: $$asyncCallbackProvider <- $$asyncCallback <- $animate <- $compile
http://errors.angularjs.org/1.5.0/$injector/unpr?p0=%24%24asyncCallbackProvider%20<-%20%24%24asyncCallback%20<-%20%24animate%20<-%20%24compile(anonymous function) @ angular.js:68(anonymous function) @ angular.js:4397getService @ angular.js:4550(anonymous function) @ angular.js:4402getService @ angular.js:4550injectionArgs @ angular.js:4574invoke @ angular.js:4596origProvider.$get @ angular.js:4477invoke @ angular.js:4604(anonymous function) @ angular.js:4403getService @ angular.js:4550injectionArgs @ angular.js:4574invoke @ angular.js:4596origProvider.$get @ angular.js:4476invoke @ angular.js:4604(anonymous function) @ angular.js:4403getService @ angular.js:4550injectionArgs @ angular.js:4574invoke @ angular.js:4596doBootstrap @ angular.js:1692bootstrap @ angular.js:1712angularInit @ angular.js:1606(anonymous function) @ angular.js:30423trigger @ angular.js:3108defaultHandlerWrapper @ angular.js:3398eventHandler @ angular.js:3386

my scripts are:

   <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/angularjs/1.5.0/angular.js"></script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/angularjs/1.5.3/angular-animate.js"></script>
<script type="text/javascript" src="//angular-ui.github.io/bootstrap/ui-bootstrap-tpls-1.3.3.js"></script>

link to the example:


#2

Hi,
I hope you have included jquery .
And also you need to injected bootstrap in the model like this .

angular.module(‘myApp’, [‘ui.bootstrap’])


#3

I added link of example I dont think I need $ for this…


#4

Your code is working fine in code pen … what’s the error…?
And one suggestion is DON’T USE CDN IN MOBILE APPLICATION …


#5

I will change the CDN… The issue is that the icons should be by total. If total is 2 then it should be 2 icons…