我已经下载了AngularJS模板:https://github.com/bennkingy/angularJs-startbootstrap-modern-businessAngularJS渲染<br>为纯文本而不是HTML
我编辑主页上的滑块显示:
欢迎Belcon
阁楼&木工
然而,被显示为如下纯文本:
Welcome to belcon <br> Lofts & Carpentry
\t \t $scope.active = 0;
\t \t var slides = $scope.slides = [
\t \t \t \t {image: 'http://placehold.it/1900x455&text=Slide One', text: 'Welcome to belcon<br>alofts & carpentry', id: 0 },
\t {image: 'http://placehold.it/1900x455&text=Slide Two', text: 'Caption 2', id: 1 },
\t {image: 'http://placehold.it/1900x455&text=Slide Three', text: 'Caption 3', id: 2 },
\t \t \t \t {image: 'http://placehold.it/1900x455&text=Slide Four', text: 'Caption 4', id: 3 } \t
\t \t ];
<uib-carousel active="active" interval="slideInterval" no-wrap="noWrapSlides">
<uib-slide ng-repeat="slide in slides track by slide.id" index="slide.id">
<img ng-src="{{slide.image}}" style="margin:auto;">
<div class="carousel-caption">
<h2>{{slide.text}}</h2>
</div>
</uib-slide>
</uib-carousel>
我怎么会去使文字:HTML友好?
三江源。