Created
March 8, 2018 02:15
-
-
Save DevEarley/caf3e2966382d9548309ee778657e76a to your computer and use it in GitHub Desktop.
Just some directive, doesn't do much.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
angular | |
.module("someApp", []) | |
.directive("someDirective", function () { | |
return { | |
scope:{ | |
someStringLiteral:"@", | |
someTwoWayBinding:"=", | |
someFunction:"&" | |
}, | |
controllerAs:"vm", | |
controller:function($scope){ | |
var vm = this; | |
}, | |
link:function($scope,element){} | |
}; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment