$q.all([promise]).then(function(data)){
console.log('resolved');
};
What happens when the promise is 'undefined' and gets resolved? Even if the promise is null or undefined, it still resolves. This behavior of $q is confusing me. Can you please clarify this for me?