title: How to Insert HTML with angularJS attribute in javascript?
body: <p>I want to try: </p>
  
  <pre><code>function test(){
     $('#somediv').html('&lt;div ng-model="name"&gt;{{name}}&lt;/div&gt;');
  }
  </code></pre>
  
  <p>Is there any way to do this? </p>