Skip to content

Instantly share code, notes, and snippets.

@moxie
Created April 13, 2013 00:48
Show Gist options
  • Save moxie/5376304 to your computer and use it in GitHub Desktop.
Save moxie/5376304 to your computer and use it in GitHub Desktop.
@app.directive "countdown", ($timeout) ->
restrict: "E"
link: (scope, element, attrs) ->
timeout_id = $timeout ->
console.log Date()
1000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment