TwoToc code
[YouAndWeb_TwoToc] / client / components / footer / footer.directive.js
diff --git a/client/components/footer/footer.directive.js b/client/components/footer/footer.directive.js
new file mode 100755 (executable)
index 0000000..4a20a16
--- /dev/null
@@ -0,0 +1,12 @@
+'use strict';
+
+angular.module('dashboardApp')
+  .directive('footer', function () {
+    return {
+      templateUrl: 'components/footer/footer.html',
+      restrict: 'E',
+      link: function (scope, element) {
+        element.addClass('footer');
+      }
+    };
+  });