title: Angularjs rootscope not updating ngClass
body: <p>I'm pretty sure it's something stupid again. I'm learning angularjs so I don't get the full scope yet but I'm getting there. I tried everything and really searched for anything I could find but nothing seemed to work.</p>
  
  <p>I'm trying to do a ng-class="..." in my layout file but the expression is set in my controller but somehow it's not rendered. It is rendered when I put it in my ng-view file. I get that he only renders part of the file but I want him to render the ng-class on ng-view as well. Is this possible or is it easier to just put in a div inside the partial html file.</p>
  
  <p>Simple html file</p>
  
  <pre><code>&lt;body&gt;
  &lt;ng-view ng-class="{ 'splash': splash=='splash' }"&gt;&lt;/ng-view&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>My controller</p>
  
  <pre><code>angular.module('xxx.splash')
      .controller('IndexCtrl', function($scope, $rootScope, config) {
          $rootScope.splash = 'splash';
  
          $scope.login = function(e) {
              alert('Soon. How soon? Very soon.');
          }
      });
  </code></pre>