Created
February 15, 2016 09:28
-
-
Save pr0t3us/770cd97fef8e93f5f16a to your computer and use it in GitHub Desktop.
index.html
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
<script src="scripts/components/map/directives/tripDetailMap.js"></script> |
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
<tripDetailMap> </tripDetailMap> |
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('tripDetailMap', []) | |
.directive('tripDetailMap', function () { | |
return { | |
restrict: 'EA', | |
controller: function ($scope) { | |
console.log("app.directives.tripDetailMap " + "controller"); | |
alert('controller'); | |
} | |
}; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment