add an example of $q deferred and $q all