These are chat archives for angular/material

29th
Jul 2015
Patrick Finkbeiner
@pfinkbeiner
Jul 29 2015 19:44
Does anyone ever worked with uiRouter and nested views with a shared controller? I try to show some HTML with ng-if=“checked==true” inside view B. In view A you can set checked to true with ng-click=“checked = true”. However the HTML appears not immediately, it seems that the something is too slow…
Patrick Finkbeiner
@pfinkbeiner
Jul 29 2015 19:56
Nevermind… I figured out that they are obviously not using the same scope. Using a single $rootScope variable fixed it…