title: How to assign angularjs variable value to html element attribute, such as input elememnt's name attribute
body: <p>I am totally new to angular, I have an angularjs $scope variable: </p>
  
  <pre><code>$scope.testme = "inputname",
  </code></pre>
  
  <p>and I want to assign this variable value to a name attribute of html  element. I want </p>
  
  <p>the below result:</p>
  
  <p><code>&lt;input name="inputname" ...&gt;</code>. But how to get it from angularjs scope variable?</p>
  
  <p>Thank you!</p>