title: How to add JS for modules in prestashop 1.5?
body: <p>Am developing a module in prestashop 1.5. Am using displayAdminProductsExtra hook to display tpl file in admin tab. when i include my jquery code in tpl, it works fine. but when i try to make it as new file and include its not working. so far I tried the below methods..</p>
  
  <p>using displayBackOfficeHeader to register a hook and called like this..</p>
  
  <pre><code>public function hookdisplayBackOfficeHeader($params) 
  {
      $this-&gt;context-&gt;controller-&gt;addJS(($this-&gt;_path).'abc.js');
  }
  </code></pre>
  
  <p>and I tried to add it in displayAdminProductsExtra also like this..</p>
  
  <pre><code>$this-&gt;context-&gt;controller-&gt;addJS(_MODULE_DIR_.$this-&gt;module-&gt;name.'/views/js/abc.js'); //first tried..
  $this-&gt;context-&gt;controller-&gt;addJS(($this-&gt;_path).'abc.js','all'); //second tried this..
  </code></pre>
  
  <p>And I tried with getcontent like this..</p>
  
  <pre><code>public function getContent()
  {   
      $this-&gt;_html= '&lt;script src="//ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"&gt;
          &lt;script src="../modules/abc/abc.js" type="text/javascript" &gt;&lt;/script&gt;';
      return $this-&gt;_html;
  }
  </code></pre>
  
  <p>but these methods didn't add my js file. Dont know where am making mistake.any help would be appreciated.</p>