有点像: link: function($scope, element, attrs, $location) {
link: function($scope, element, attrs, $location) {
这可能吗?
angularjs angularjs-directive
angularjs ×1
angularjs-directive ×1