Bonjour,

j'ai un probléme en angularjS et j'arrive pas a le résoudre.
En effet, j'utilise angulrJS et SF 2.7.7

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
angular.js:11598 Error: [$injector:unpr] Unknown provider: |FilterProvider <- |Filter
http://errors.angularjs.org/1.3.11/$injector/unpr?p0=%7CFilterProvider%20%3C-%20%7CFilter
    at angular.js:63
    at angular.js:3994
    at Object.getService [as get] (angular.js:4141)
    at angular.js:3999
    at Object.getService [as get] (angular.js:4141)
    at Parser.$filter (angular.js:16521)
    at Parser.filter (angular.js:12122)
    at Parser.filterChain (angular.js:12116)
    at Parser.statements (angular.js:12095)
    at Parser.parse (angular.js:11952)
Voilà mon code :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
 
var app = angular.module('CheckListCis',['ngRoute']);
 
 
app.config(function($interpolateProvider /*,$routeProvider*/){
 
    $interpolateProvider.startSymbol('||').endSymbol('||');
 
   // $routeProvider.when('http://127.0.0.1:8000/api/admin/actifs/getActif',{
      //  templateUrl: 'pagesWeb/Actifs/indexactifs.html',
      //  controller: 'GesActifsController'
 
   // }).otherwise({redirectTo : '/'});
 
});
 
 
app.controller("GesActifsController",function ($scope,$http){
 
$scope.actifs = [];
 
 
$scope.listActif=function () {
 
    $http.get("/api/admin/actifs/")
        .success(function (data) {
 
            $scope.actifs = data;
            console.log($scope.actifs);
 
        });
 
};
 
    $scope.listActif();
 
    $scope.afficheUnActif=function(actif){
 
      //  window.location.assign("http://127.0.0.1:8000/api/admin/actifs/getActif");
 
        $http.get("/api/admin/actifs/get/"+actif.idactif)
            .success(function (data) {
                $scope.actifs= data;
                console.log($scope.actifs);
 
            });
    }
 
 
 
});
merci de m'aider mes amis,