Answer the question
In order to leave comments, you need to log in
How to make the next call through a promise?
well, I have it in the body of the controller
$.ajax( {
url: '/api/v2/..'
} ).then( function ( data ) {
scope.filters = data.Finder.filters;
scope.$scan( );
} );
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question