Skip to content

Instantly share code, notes, and snippets.

@DavidVotrubec
Created September 1, 2015 10:20
Show Gist options
  • Save DavidVotrubec/a35e57f79bf42e7d52e2 to your computer and use it in GitHub Desktop.
Save DavidVotrubec/a35e57f79bf42e7d52e2 to your computer and use it in GitHub Desktop.
app.directive('someDirective', function () {
return {
scope: {
oneWay: '@',
twoWay: '=',
expr: '&'
}
};
});
@DavidVotrubec
Copy link
Author

Because I always forget how this binding works :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment