Created
October 29, 2016 16:01
-
-
Save bcuz/fe028ebfa75c13cd1543d2e1cfc339bf to your computer and use it in GitHub Desktop.
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
directive element: | |
<app-info info="move"></app-info> | |
directive | |
app.directive('appInfo', function() { | |
return { | |
restrict: 'E', | |
scope: { | |
info: '=' | |
}, | |
templateUrl: 'js/directives/appInfo.html' | |
}; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment