与NG重复引导,标签之间没有空格

问题描述:

当我加入利用angular.js纳克重复的标签,他们显示无间距。
这里是一个 Plunker 这表明它。

When I am adding labels using ng-repeat from angular.js, they are shown without spacing. Here is a Plunker which demonstrates it.

但是,如果我手动添加标签,只是复制了HTML,那么他们显示有空格。

But if I add labels manually, just has copied html, then they are shown with whitespace.

有没有一种方法来添加标签之间的空白,无需额外的造型,因为它在纯引导呢?

Is there a way to add white space between labels without additional styling, as it does in pure bootstrap?

您可以在你的HTML标记改变这个...

You could change your HTML markup to this...

   <div class="panel-heading">
    My panel
    <span ng-repeat="tag in tags"><span class="label label-primary">{{tag}}</span> </span>
   </div>

演示: http://bootply.com/113372