Closed valentin-dirken closed 9 years ago
Hi @valentin88, thank you for interesting in Angular Selector.
I'm not sure I'm understanding your problem, could you provide a Plunker, or at least give me a little context of where you're seeing it?
I'm at work, I'm going to answer you tonight ;-) (I will edit this post)
Hi @valentin88, Maybe you want to update your options dynamically from a remote request.
If so, you could check out these three plunkers or just take a look at the demo site:
Let me know if I'm wrong, or some of these examples could help you.
Change : scope.open = function () { scope.isOpen = true;
TO : scope.open = function () { scope.isOpen = true;
like this, you can do in the controller : contactsAPIservice.getEmployees() .success(function(response) {
$scope.EmployeesSelected = [3,10,12]; // or from a service request $scope.Employees = response; });
See you ;-)