From 102b259058d670aff872943ded8940d3f24887b4 Mon Sep 17 00:00:00 2001 From: Bernie Telles Date: Thu, 13 Nov 2014 20:58:40 -0800 Subject: [PATCH] Update q.js Explain what the $q service does, instead of its origin in the description. --- src/ng/q.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ng/q.js b/src/ng/q.js index 32237dadf4b4..ef7c84226940 100644 --- a/src/ng/q.js +++ b/src/ng/q.js @@ -6,7 +6,11 @@ * @requires $rootScope * * @description - * A promise/deferred implementation inspired by [Kris Kowal's Q](https://github.com/kriskowal/q). + * A service that helps you run functions asynchronously, and use their return values (or exceptions) + * when they are done processing. + * + * This is an implementation of promises/deferred objects inspired by + * [Kris Kowal's Q](https://github.com/kriskowal/q). * * $q can be used in two fashions --- one which is more similar to Kris Kowal's Q or jQuery's Deferred * implementations, and the other which resembles ES6 promises to some degree.