나는 탭이 거의없고 각도 + 부트 스트랩을 사용하는 페이지가 있습니다. 처음에는 angular.bootstrap을 사용합니다. 그런 다음 탭 중 하나에 다른 데이터 세트를 표시하는 또 다른 컨트롤러가 있습니다. angular.bootstrap을 다시 사용하려고하면 두 번 부트 스트랩 할 수없는 오류가 발생합니다. 간단하게하려면 다음 코드를 고려하십시오.angular.bootstrap을 두 번 사용하는 방법은 무엇입니까?
<div id="mainpage" ng-controller="mainPageController">
<ul>
<li id="test1"> <a href="gototest1"> GoToTest1 </li>
<li id="test2"> <a href="gototest2"> GoToTest2 </li>
</ul>
</div>
<div id="gototest1">
this is some sample. I have another html page here which will be loaded as a tab
</div
는 gototest1의 페이지는이
<div ng-controller="gototestcontroller>
Here comes the another widget from another controller and
I try to use angular.boostrap here again. And I get the error because it is already bootstrapped in mainPage
</div>
여기 angular.bootstrap 사용하는 가장 좋은 방법은 무엇입니까처럼 보인다?
은?, 어디를 볼 수 없습니다 오류입니다 –