Skip to content

Instantly share code, notes, and snippets.

@geelen
Forked from sj26/gist:5201226
Last active December 15, 2015 04:28
Show Gist options
  • Save geelen/5201278 to your computer and use it in GitHub Desktop.
Save geelen/5201278 to your computer and use it in GitHub Desktop.
RWAR = (inject...) -> inject
my.angular.directives.directive "mydirective",
RWAR "$http", "$lolwhut", ($http, $lolwhut) ->
scope:
here: "i"
bind: "=some"
things: "&away"
link: (scope, el, attrs) ->
"WOW I'M DIRECTING"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment