흥미로운 질문이 있습니다.AngularJS 태그가있는 VisualForce 페이지
일부 Angular JS가 포함 된 VisualForce 페이지가 있습니다.
ng-repeat-end
태그에 문제가 있습니다.
html로는 다음과 같습니다
<span ng-repeat-end ng-if="$last" class="a nav__links__link" data-nav="control">You are here: {{breadcrumb.label}}</span>
이 오류와 함께 저장하지 않습니다
없이 VisualForce :
Attribute name "ng-repeat-end" associated with an element type "span" must be followed by the ' = ' character.
그래서 나는이에 잘못된 태그를 변경합니다
<span ng-repeat-end="" ng-if="$last" class="a nav__links__link" data-nav="control">You are here: {{breadcrumb.label}}</span>
을 어느 VisualForce는 행복하지만 Angular JS는 다음 오류로 인해 화를냅니다 :
Unterminated attribute, found 'ng-repeat-start' but no matching 'ng-repeat-end' found.
어떻게 VisualForce의 파서와 AngularJS를 모두 만족시킬 수 있습니까?
을 만들면 단지 "반복"하는 것처럼 보입니다. 실제로 실제로 그것을 알아 냈습니다. SalesForce에는 attribute = ""이 필요하지만 빈 문자열이면 파싱 할 때 제거됩니다. 그래서 저는 그 값 (다른 AngularJS 태그)을 값 (모든 값)과 동일하게 만들어야합니다. – Fernker