Skip to content

Instantly share code, notes, and snippets.

@aesnyder
Created February 25, 2015 17:56
Show Gist options
  • Save aesnyder/44a2a475e400e4987cec to your computer and use it in GitHub Desktop.
Save aesnyder/44a2a475e400e4987cec to your computer and use it in GitHub Desktop.
app.service 'deferrable', ($q) ->
(fn) ->
d = $q.defer()
fn d
d.promise
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment