Skip to content

Instantly share code, notes, and snippets.

@0x-r4bbit
Created October 14, 2015 18:58
Show Gist options
  • Select an option

  • Save 0x-r4bbit/cfcec5315d8293611011 to your computer and use it in GitHub Desktop.

Select an option

Save 0x-r4bbit/cfcec5315d8293611011 to your computer and use it in GitHub Desktop.

Revisions

  1. 0x-r4bbit created this gist Oct 14, 2015.
    17 changes: 17 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    import {JoinFilterModule} from '../../common/join_filter';
    import './country_info_table.tpl.html';

    export let CountryInfoTableModule = angular.module('CountryInfoTable', [JoinFilterModule.name, 'templates'])

    .directive('countryInfoTable', () => {
    return {
    restrict: 'E',
    templateUrl: 'country_info_table.tpl.html',
    scope: {},
    bindToController: {
    country: '='
    },
    controller: () => {},
    controllerAs: 'ctrl'
    };
    });