Divider.js 474 Bytes
import template from "./Divider.html";
import style from "antd/lib/divider/style/index.css";
angular.module("esNgAntd").directive("antdDivider", function (esNgAntd) {
    return {
        controllerAs: "antdDivider",
        restrict: "E",
        transclude: true,
        replace: true,
        template: template,
        link: function ($scope, $element, $attrs, $controllers, $transclude) {
            esNgAntd.createStyle("ant-divider", style);
        },
    };
});