Skip to content

Assincronous use #4

@saulocn

Description

@saulocn

How can i use the autocomplete with an assicronous call?

Example:
$scope.data = [];
list();

function list(){
Service.query(
function(objects){
objects.forEach(function(object){
$scope.data.push(object.attribute);
});
},
function(error){
console.log(error);
}
);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions