Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

added missing function okToGreet #5878

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/ng/q.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
* <pre>
* // for the purpose of this example let's assume that variables `$q` and `scope` are
* // available in the current lexical scope (they could have been injected or passed in).
*
* function okToGreet(name) {
* return (name == 'Robin Hood');
* }
*
* function asyncGreet(name) {
* var deferred = $q.defer();
Expand Down