lundi 19 janvier 2015

uiSelect Unknown provider

Hi im trying to implent uiSelect http://ift.tt/1uWBMF2


But when i add module JS



angular.module('projects').controller('ProjectsCreateController', ['$scope', 'Projects', 'Notify', 'CustomersToId', 'Users', '$http', '$q', 'uiSelect',
function($scope, Projects, Notify,Customers, Users, $http, $q, uiSelect) {


HTML



<ui-select-match placeholder="Select person...">
{{customers.name}} &lt;{{customers._id}}&gt;
</ui-select-match>


I get this error in chrome console



Error: [$injector:unpr] Unknown provider: uiSelectProvider <- uiSelect
http://ift.tt/1CFGR8k
at http://...lib/angular/angular.js:78:12
at .../lib/angular/angular.js:3801:19
at Object.getService [as get] (.../lib/angular/angular.js:3929:39)
at .../lib/angular/angular.js:3806:45
at getService (.../lib/angular/angular.js:3929:39)
at invoke (.../lib/angular/angular.js:3956:13)
at Object.instantiate (.../lib/angular/angular.js:3976:23)
at .../lib/angular/angular.js:7307:28
at .../lib/angular/angular.js:6696:34
at forEach (.../lib/angular/angular.js:332:20) <div class="modal-content" modal-transclude="">

Aucun commentaire:

Enregistrer un commentaire