title: How use ng-value and ng-model in form inputs text
body: <p>I'm making a form to edit information in a database, this form is working, he's taking the information depending on what I select, however it is not showing in text inputs on the page.</p>
  
  <p>I know the information that i'm getting is the right information because I can see on the console and also in the attribute 'value', although not appear on the page.</p>
  
  <p>This page have two inputs text:</p>
  
  <pre><code>  &lt;label for="meetingPoint"&gt;Name:&lt;/label&gt;
    &lt;input type="text" class="form-control" name="name" rows="5" ng-value="{{ data[0].name }}" ng-model="formData.name" /&gt;
  
    &lt;label for="meetingPoint"&gt;Meeting Point:&lt;/label&gt;
    &lt;input type="text" class="form-control" name="meetingPoint" rows="5" ng-value="{{ data[0].meetingPoint }}" ng-model="formData.meetingPoint" /&gt;
  </code></pre>
  
  <p>I want be able to see the information on the page and still send to my formData scope, but i'm very lost, is the first time that i'm using the Angular.</p>
  
  <p>This is my controller:</p>
  
  <pre><code>var event = $routeParams.evento;
  $scope.data;
  $scope.submitForm;
  $scope.formData = {};
  
  $http.get('/api/data/event/edit/' + event)
    .success(function (data, status, headers, config) {
      $scope.data = data;
      console.log(data);
    })
    .error(function (data, status, headers, config) {
      $scope.data = data;
    });
  
  $scope.processForm = function () {
    console.log($scope.formData._id);
    $http({
        method: 'PUT',
        url: '/api/data/event/edit' + $scope.formData._id,
        data: $scope.formData,
        headers: {
          'Content-Type': 'application/x-www-form-urlencoded'
        }
      })
      .success(function (data) {
        console.log(data);
  
        if (!data.success) {
          $scope.errorName = data.errors.name;
        } else {
          $scope.message = data.message;
        }
      });
  };
  </code></pre>
  
  <p>So i'm getting the event that i want, them i'm trying to show the information with ng-value, but isn't working, and also edit my formData object.</p>
  
  <p>Can someone give me a hand here? :)</p>
  
  <p>Thanks!!!!</p>