Advertisement
Guest User

Untitled

a guest
Dec 19th, 2014
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     module.directive('debugMenu', ['debugConfig', function(debugConfig) {
  2.         return {
  3.             restrict: 'EA',
  4.             transclude: 'element',
  5.             replace: true,
  6.             scope: {},
  7.             templateUrl: '/common/debug-menu',
  8.             link: function(scope, element, attrs) {
  9.                 console.log(debugConfig);
  10.                 scope.debug = debugConfig;
  11.             }
  12.         };
  13.     }]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement