Skip to content

Instantly share code, notes, and snippets.

@TweededBadger
Last active April 18, 2023 07:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TweededBadger/ccdaac3e53aee9c0637d to your computer and use it in GitHub Desktop.
Save TweededBadger/ccdaac3e53aee9c0637d to your computer and use it in GitHub Desktop.
angular.module('SvgMapApp').directive('svgMap', ['$compile', function ($compile) {
return {
restrict: 'A',
templateUrl: 'img/Blank_US_Map.svg',
link: function (scope, element, attrs) {
}
}
}]);
<!--...-->
<div class="container">
<div svg-map></div>
</div>
<!--...-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment