I'm having difficulties making ng-cloak work. I've tried everything on this page:
I have a ui-view containing 2 divs. The divs are mutually exclusive. I want to show only one of them. I'm trying to control this by using the ng-show / ng-hide pair.
<div ng-controller="app.overviewController" ng-cloak>
<div name="a" ng-show="isFirst">
<div name="b" ng-hide="isFirst">
"isFirst" is being set with a call to a WebApi method, in the controller attached to this view.
I have a hard time figuring out if i'm missing something. Any tips would be appreciated.