Using Admin LTE with Aurelia
<p>I have an Aurelia CLI application and I also installed admin-lte with npm.
The problem is that it doesn't load correctly. This is because Admin LTE uses jQuery DOM ready event and expects things to be in the DOM at that moment.
But if I declare all layout html in my app.html nothing happens because things are attached later (my guess).</p>

<p>I've created a gist that simulates the problem. I guess I could use attached hook in app.js and do something but I'm not sure of what.</p>

<p><a href="https://gist.run/?id=e4521c1fb38ec82bffd6a0e4fd8b1da6" rel="nofollow">https://gist.run/?id=e4521c1fb38ec82bffd6a0e4fd8b1da6</a></p>

<p>As you can see, plugin.js is referenced in index.html just like I reference the Admin LTE javascripts in my application. The div does not change because it arrives after the script in plugin.js runs.</p>

<p>This is the body of my real app:</p>

<pre><code>&lt;body aurelia-app="main" class="hold-transition skin-blue sidebar-mini"&gt;
    &lt;script src="scripts/vendor-bundle.js" data-main="aurelia-bootstrapper"&gt;&lt;/script&gt;
    &lt;!-- REQUIRED JS SCRIPTS --&gt;

    &lt;!-- jQuery 2.2.3 --&gt;
    &lt;script src="node_modules/admin-lte/plugins/jQuery/jquery-2.2.3.min.js"&gt;&lt;/script&gt;
    &lt;!-- Bootstrap 3.3.6 --&gt;
    &lt;script src="node_modules/admin-lte/bootstrap/js/bootstrap.min.js"&gt;&lt;/script&gt;
    &lt;!-- AdminLTE App --&gt;
    &lt;script src="node_modules/admin-lte/dist/js/app.js"&gt;&lt;/script&gt;
  &lt;/body&gt;
</code></pre>

<p>What I actually need is to make sure that the <code>$(function () {...})</code> in <code>admin-lte/dist/js/app.js</code> runs. Maybe you could force jQuery to rerun this function?</p>