The same as:
var result = defer();
var done;
done
is just another variable
1
solved What is purpose of done in AngularJS
The same as:
var result = defer();
var done;
done
is just another variable
1
solved What is purpose of done in AngularJS