0
나는 단순화 된 다음 아키텍처했습니다ng-included 뷰를 동적으로 변경하는 방법은 무엇입니까?
<section ng-controller="myController">
<!-- Content -->
<button>Clic here !</button>
</section>
<aside ng-include="nav.html">
<!-- Content -->
</aside>
가 어떻게보기를 변경 dynamicaly 수 있습니다 내가 myController
컨트롤러에 의해 구동되는 button
에 CLIC aside
태그에 포함?
컨트롤러의 범위에는 aside
태그가 포함되지 않습니다.
내 옆 태그 내 컨트롤러의 범위에되지 않습니다 : http://jsfiddle.net/AU6Mr/2/ – Fractaliste