title: AngularJS Expression Won't Evaluate in Value Field of Input
body: <p>What seems like a simple thing in AngularJS is not working for me and I was hoping you all could be of assistance. Specifically, I am trying to enter the result of an AngularJS expression in another input's "value" attribute. I have set the ng-model's and am calling those correctly, just can't figure out why it won't evaluate. I have tried doing the same expression below the input, and it evaluates, so I believe it's something to do with being in the value attribute which is causing the issue.The code I have currently is:</p>
  
  <pre><code>&lt;div class="row-fluid"&gt;
      &lt;div class="span4"&gt;
          &lt;label for="employeeID"&gt;Employee ID&lt;/label&gt;
          &lt;input type="text" class="input-block-level" id="employeeID" for="employeeID" placeholder="ANS1235482" ng-model="createNewUser.EmployeeId"&gt;
      &lt;/div&gt;
      &lt;div class="span4"&gt;
          &lt;label&gt;First Name&lt;/label&gt;
          &lt;input type="text" class="input-block-level" placeholder="Johnathan" ng-model="createNewUser.FirstName"&gt;
      &lt;/div&gt;
      &lt;div class="span4"&gt;
          &lt;label&gt;Last Name&lt;/label&gt;
          &lt;input type="text" class="input-block-level" placeholder="Smith" ng-model="createNewUser.LastName"&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="row-fluid"&gt;
      &lt;div class="span4"&gt;
          &lt;label for="username"&gt;Username&lt;/label&gt;
          &lt;input type="text" class="input-block-level" placeholder="JohnathanSmith" value="createNewUser.LastName" &gt;
      &lt;/div&gt;
      &lt;div class="span4"&gt;
          &lt;label&gt;Password&lt;/label&gt;
          &lt;input type="password" class="input-block-level" placeholder="***************"&gt;
      &lt;/div&gt;
      &lt;div class="span4"&gt;
          &lt;label&gt;Role&lt;/label&gt;
          &lt;select class="input-block-level"&gt;
              &lt;option value="user"&gt;User&lt;/option&gt;
              &lt;option value="admin"&gt;Administrator&lt;/option&gt;
          &lt;/select&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Ideally, I would like to figure out how to get a username of the first letter of the first name and the full last name to auto-populate using data-binding, but at this point I haven't even been able to get just the standard first name + last name to work.</p>
  
  <p>Any help you could offer would be greatly appreciated.</p>
  
  <p>Thank you!</p>