Last active
April 12, 2016 22:52
-
-
Save pcote/3dc0fb0bc99bceff989e4156b8eccfe2 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
| var googleDirective = function(){ | |
| var d = {}; | |
| d.restrict = "E"; | |
| return d; | |
| }; | |
| angular.module("app", []) | |
| .directive("myGoogle", googleDirective); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment