Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module.directive('debugMenu', ['debugConfig', function(debugConfig) {
- return {
- restrict: 'EA',
- transclude: 'element',
- replace: true,
- scope: {},
- templateUrl: '/common/debug-menu',
- link: function(scope, element, attrs) {
- console.log(debugConfig);
- scope.debug = debugConfig;
- }
- };
- }]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement