title: Complex angular js ng-class
body: <p>I have the component and have a problem setting the css class to it.
  I want it to always have a class of "box", then to have additional classes specified by the directive "class" argument and one conditional class "mini".</p>
  
  <p>Conceptually what I want to achieve is something like this: </p>
  
  <pre><code>&lt;div class="box {{class}}" data-ng-class="{mini: !isMaximized}"&gt;
  ...
  &lt;/div&gt;
  </code></pre>
  
  <p>The problem is that when I set the class html attribute, the ng-class attribute is omitted. 
  How to make my example work without changing the controller? Is it even possible, or should I set the class in the controller instead (which I wish to avoid)?</p>