{"action":"closed","issue":{"url":"https://api.github.com/repos/opendatasoft/ods-widgets/issues/47","labels_url":"https://api.github.com/repos/opendatasoft/ods-widgets/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/opendatasoft/ods-widgets/issues/47/comments","events_url":"https://api.github.com/repos/opendatasoft/ods-widgets/issues/47/events","html_url":"https://github.com/opendatasoft/ods-widgets/issues/47","id":58643680,"number":47,"title":"facet doesn't work with ods-widgets.min.js but does with ods-widgets.js","user":{"login":"yaca29","id":6418278,"avatar_url":"https://avatars.githubusercontent.com/u/6418278?v=3","gravatar_id":"","url":"https://api.github.com/users/yaca29","html_url":"https://github.com/yaca29","followers_url":"https://api.github.com/users/yaca29/followers","following_url":"https://api.github.com/users/yaca29/following{/other_user}","gists_url":"https://api.github.com/users/yaca29/gists{/gist_id}","starred_url":"https://api.github.com/users/yaca29/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaca29/subscriptions","organizations_url":"https://api.github.com/users/yaca29/orgs","repos_url":"https://api.github.com/users/yaca29/repos","events_url":"https://api.github.com/users/yaca29/events{/privacy}","received_events_url":"https://api.github.com/users/yaca29/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-23T20:33:01Z","updated_at":"2015-02-23T20:53:05Z","closed_at":"2015-02-23T20:53:05Z","body":"Hi,\r\n\r\nWith this context\r\n\r\n                            <ods-dataset-context context=\"etab\" etab-domain=\"mesr\" etab-dataset=\"fr-esr-principaux-etablissements-enseignement-superieur\" etab-parameters=\"{'sort': 'aca_nom', 'refine.identifiant_programme_lolf_chef_de_file': '150'}\">\r\n\r\nthis code doesn't diplay the facets if i use ods-widgets.min.js but works with ods-widget.js :\r\n\r\n<ods-facets context=\"etab\">\r\n    <h3>Filtrer par académie</h3>\r\n    <ods-facet name=\"aca_nom\" visible-items=\"33\">{{category.name}}</ods-facet>\r\n</ods-facets>\r\n\r\nAny solutions ?\r\n\r\nKindly\r\n\r\nYann\r\n\r\nps : log is here :\r\n Error: [$injector:unpr] Unknown provider: eProvider <- e <- odsFacetsDirective\r\nhttp://errors.angularjs.org/1.2.22/$injector/unpr?p0=eProvider%20%3C-%20e%20%3C-%20odsFacetsDirective\r\n    at angular.js:78\r\n    at angular.js:3792\r\n    at Object.getService [as get] (angular.js:3920)\r\n    at angular.js:3797\r\n    at getService (angular.js:3920)\r\n    at Object.invoke (angular.js:3947)\r\n    at angular.js:5671\r\n    at forEach (angular.js:325)\r\n    at Object.<anonymous> (angular.js:5669)\r\n    at Object.invoke (angular.js:3956)\r\nangular.js:10046 Error: [$injector:unpr] Unknown provider: eProvider <- e <- odsFacetCategoryDirective\r\nhttp://errors.angularjs.org/1.2.22/$injector/unpr?p0=eProvider%20%3C-%20e%20%3C-%20odsFacetCategoryDirective\r\n    at angular.js:78\r\n    at angular.js:3792\r\n    at Object.getService [as get] (angular.js:3920)\r\n    at angular.js:3797\r\n    at getService (angular.js:3920)\r\n    at Object.invoke (angular.js:3947)\r\n    at angular.js:5671\r\n    at forEach (angular.js:325)\r\n    at Object.<anonymous> (angular.js:5669)\r\n    at Object.invoke (angular.js:3956)\r\nangular.js:10046 Error: [$compile:ctreq] Controller 'odsFacets', required by directive 'odsFacet', can't be found!\r\nhttp://errors.angularjs.org/1.2.22/$compile/ctreq?p0=odsFacets&p1=odsFacet\r\n    at https://ajax.googleapis.com/ajax/libs/angularjs/1.2.22/angular.js:78:12\r\n    at getControllers (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.22/angular.js:6524:19)\r\n    at nodeLinkFn (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.22/angular.js:6693:35)\r\n    at compositeLinkFn (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.22/angular.js:6086:13)\r\n    at compositeLinkFn (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.22/angular.js:6089:13)\r\n    at compositeLinkFn (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.22/angular.js:6089:13)\r\n    at compositeLinkFn (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.22/angular.js:6089:13)\r\n    at compositeLinkFn (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.22/angular.js:6089:13)\r\n    at compositeLinkFn (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.22/angular.js:6089:13)\r\n    at nodeLinkFn (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.22/angular.js:6686:24) <div class=\"odswidget odswidget-facet ng-isolate-scope\" name=\"aca_nom\" visible-items=\"33\">"}}