title: Why is my form not cleared?
body: <p>I have made two controllers. One for adding data in the database via an API call, and a second one for sending an email. Weirdly (for now because I don't understand why) the adding functionality works fine and clears the form after the action, the second controller for sending the email doesn't clear the form and also doesn't do the console.log, it does however sends the email perfectly.</p>
  
  <p>If i remove the + 'sendmail' from the emailController the form is cleared and console.log works fine also. but ofcourse the email is not send then.</p>
  
  <p>I will place the pieces of codes of both controllers here. Hoping someone can help me finding out why the controller for sending the email doesnt act the way i want (and expected to). </p>
  
  <p>thanks for any help.</p>
  
  <p>The add review functionality</p>
  
  <pre><code>.controller('ReviewController', function ($scope, $http) {
    $scope.addReview = function () {
      $http.post(API, $scope.review)
        .success(function () {
          $scope.reviews.push($scope.review);
          $scope.review = {};
        })
        .error(function (data) {
          $scope.error = 'Posting review not successful';
          console.log(data);
        });
    };
  })
  </code></pre>
  
  <p>the sendEmail controller</p>
  
  <pre><code>.controller('emailController', function ($scope, $http) {
    $scope.sendMail = function () {
      $http.post(API + 'sendmail', $scope.email)
        .success(function () {
          console.log('Mail send');
          $scope.email = {};
        })
        .error(function (data) {
          $scope.error = 'Posting review not successful';
          console.log(data);
          console.log('Mail not send');
        });
    };
  });
  </code></pre>