Answer the question
In order to leave comments, you need to log in
Object reference on ajax request in Angular?
Good afternoon! I get an object (tree) in the factory via ajax and assign it to the factory property like this:
fun: function () {
var _this = this;
$http.post('url', data).then(function (results) {
_this.data = results.data;
});
}
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