Skip to content

Instantly share code, notes, and snippets.

@derwolfe
Created November 10, 2013 15:39
Show Gist options
  • Select an option

  • Save derwolfe/7399672 to your computer and use it in GitHub Desktop.

Select an option

Save derwolfe/7399672 to your computer and use it in GitHub Desktop.
.directive('sides', function() {
// not working
return {
scope: {
sides: [
{ Name: 'Buy', Id: 1 },
{ Name: 'Sell', Id: -1 }
]
},
restrict: 'A',
templateUrl: '/JS/partials/side.tmpl.html'
};
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment