title: How to convert a page generated from server to a big component in angular2
body: <p>I have a page generated from server side and I want to use angular2 to operate its elements how can i do that?
  Similar like Vue:
  I can use initialize the whole page by giving its element id and i can operate the elements i want.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var app = new Vue({
    el: '#app',
    data: {
      message: 'Hello Vue!'
    }
  })</code></pre>
  </div>
  </div>
  </p>