0
{{$$addFunc='isAdd'}}
<span ng-repeat="listItem in stmt.content">
<span ng-switch on="listItem.meta.category">
<span ng-switch-when="plain" ng-bind-template="{{listItem.content}}">
</span>
<span ng-switch-when="link">
<a href="{{listItem.content.lnk}}">{{listItem.content.cap}}</a>
</span>
<span ng-switch-when="list" ng-init="{{$$addFunc='isInsert'}}">{{$$addFunc}}</span>
</span>
</span>
{{$$addFunc}}
$$ addFunc를 수정하는 방법은 'isInsert'입니까?ng-repeat에서 값을 변경하고 ng-repeat에서 표시하는 방법
변경'<스팬 ng-switch on = "listItem.meta.category">'~'' –
더 잘 설명해야합니다. 정확히 여기서 무슨 일이 일어나는지 모르겠다. –