阅读背景:

$ compile之后如何隐藏元素?

来源:互联网 

There is a directive:

有一个指令:

.directive('location', function () {
        return {
            restrict : 'A',
            scope    : {},
            replace  : true,
            templateUrl: 'common/components/location/location.html',
            link     : function (scope, element, attr) {……}
        }
});
.directive('lo



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: