Skip to content

Instantly share code, notes, and snippets.


adamweeks/myDrtv.js Secret

Last active Aug 29, 2015
What would you like to do?
myApp.directive('myDrtv', function () {
return {
restrict: 'E',
scope: {
passedVar: '=',
passedExpression: '&'
template: '
<div>Hello {{passedVar}}</div>
controller: 'MyDirectiveController',
controllerAs: 'myDirectiveCtrl',
replace: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment