setProperty is not a function(...)
<p>When I use </p>

<pre><code>$wnd.document.getElementById('id');
</code></pre>

<p>It works successfully and I get the element. But, when I try to set <code>property</code> like this:</p>

<pre><code>$wnd.document.getElementById('id').setProperty("Property","value"); 
</code></pre>

<p>It brings me error :  </p>

<blockquote>
  <p>Uncaught TypeError: $wnd.document.getElementById(...).setProperty is
  not a function(…)</p>
</blockquote>

<p>With what mistake in my code can it be chained?</p>