added links to examples and added $q.all()