{{ methods[method] }}'
return directive
angularAMD.directive "wabApi", () ->
directive =
restrict: 'E',
scope:
endpoint: '@'
template: '/api{{ endpoint }}'
return directive