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