title: dart/polymer style classes not working for imported dart files
body: <p>I'm probably making a big design mistake here.<br></p>
  
  <p>I have a polymer template, "fred". So I have "fred.dart" and "fred.html".<br></p>
  
  <p>"fred.dart" was getting rather large, so I split off a logical chunk of code, placed it in a new file called "child.dart", which I import into "fred.dart".<br></p>
  
  <p>First, I tried creating a new <em>class</em> called "child" - being the whole of "child.dart". It's quite closely connected to "fred" but I can only use styles like:<br></p>
  
  <pre><code>    myPaperButton.style.backgroundColor="red";
  </code></pre>
  
  <p>The following method does not work:<br></p>
  
  <pre><code>    myPaperButton.classes=['mystyle'];
  </code></pre>
  
  <p>I have tried removing the "class child", but then I get a whole bunch of other problems.How can "child" call functions in "fred"? Is it possible?<br> Or is my approach wrong - should I just merge "child.dart" back into "fred.dart"?<br>
  cheers<br>
  Steve</p>