diff --git a/js/angular/directive/item.js b/js/angular/directive/item.js index 29e9092740c..5fc19494749 100644 --- a/js/angular/directive/item.js +++ b/js/angular/directive/item.js @@ -1,5 +1,5 @@ var ITEM_TPL_CONTENT_ANCHOR = - ''; + ''; /** @@ -58,6 +58,7 @@ function($animate, $compile) { $scope.$href = function() { return $attrs.href || $attrs.ngHref; }; + $scope.$target = $attrs.href || '_self'; }; } };