J'ai ajouté une animation angulaire à mon projet. J'ai seulement placé ceci à mon index.html et à app.js. Y a-t-il quelque chose que j'ai manqué? Merci à l'avanceErreur après l'utilisation de ngAnimate: TypeError: impossible de lire la propriété 'ng-scope' et 'col-sm-6' de non défini
index.html
<script src="http://code.angularjs.org/1.2.1/angular-animate.js"></script>
app.js
angular.module('portfolio', ['ui.bootstrap','ui.router', 'ngAnimate', 'service', 'ctrl'])
Console: Erreur
TypeError: Cannot read property 'ng-scope' of undefined
at lookup (angular-animate.js:294)
at performAnimation (angular-animate.js:563)
at angular-animate.js:358
at m.$digest (angular.js:16215)
at m.$apply (angular.js:16429)
at g (angular.js:10823)
at t (angular.js:11021)
at XMLHttpRequest.w.onload (angular.js:10962)(anonymous function) @ angular.js:12793(anonymous function) @ angular.js:9526m.$digest @ angular.js:16217m.$apply @ angular.js:16429g @ angular.js:10823t @ angular.js:11021w.onload @ angular.js:10962
angular.js:12793
TypeError: Cannot read property 'col-sm-6' of undefined
at lookup (angular-animate.js:294)
at performAnimation (angular-animate.js:563)
at angular-animate.js:358
at m.$digest (angular.js:16215)
at m.$apply (angular.js:16429)
at g (angular.js:10823)
at t (angular.js:11021)
at XMLHttpRequest.w.onload (angular.js:10962)
Utilisez-vous la même version d'animation angulaire et angulaire? Aussi, peut-être utiliser une version plus récente aussi? – Chanthu
Merci de m'avoir donné un indice. Oui l'erreur a été résolue quand j'ai fait correspondre l'angular.min.js et l'animation angulaire à la version 1.2.7 –