(function () {
    'use strict';

    function Categories() {

        return {
            restrict: 'E',
            templateUrl: 'controls/categories/categories.template.html',
            scope: {
                title: '@',
                items: '='
            },
            link: CategoriesLink
        };

        function CategoriesLink(scope, element, attrs) {
        }
    }

    angular
        .module('app.categories.directive', [])
        .directive('categories', Categories);
})();