WIP Domain listing app with automatic status checking. Buitl with AngularJS.

footer.js 449B

1234567891011121314
  1. "use strict"
  2. angular.module('domainManagerApp')
  3. .directive('footer', function () {
  4. return {
  5. restrict: 'A', //This menas that it will be used as an attribute and NOT as an element. I don't like creating custom HTML elements
  6. replace: true,
  7. templateUrl: "../../views/footer.html",
  8. controller: ['$scope', '$filter', function ($scope, $filter) {
  9. // code goes here
  10. }]
  11. }
  12. });