0
の2つの間で、ng-include
ディレクティブを挿入する必要があります。AngularJSを使用してsvg要素を切り替える方法
基本的に、私はこれを変換したい:このようなもので
<i class="indicator oppcicon {{domain.show_requests ? 'icon-chevron-down' : 'icon-chevron-right'}}"></i>
:
<i ng-include class="indicator" src="{{domain.show_requests ? 'images/chevron-down.svg' : 'images/chevron-right.svg'}}" ></i>
これは可能ですか?