title: node / express response.redirect not working
body: <p>so , i'm trying to redirect to some homepage after a user logs in to the site correctly , 
  i'll give more details through the code : </p>
  
  <p>after clicking a button , a function gets called and sends a post request to API (using angularJS ) , this part works properly : </p>
  
  <pre><code>$scope.login = function () {
          console.log("logging in ... ") ;
          $http.post('api/login', $scope.Ldata) // Ldata id form data that will get checked by server 
              .success(function (data) {
                  console.log(data) ;
              })
              .error(function (err) {
                   console.log(err) ;
              }) ;
      } ; 
  </code></pre>
  
  <p>and in API : </p>
  
  <pre><code>app.post('/api/login' , function (req , res) {
      Todo.findOne( { email : req.body.mail } , function (err, user) {
          if (err) { res.send(err) ; }
          if (user) {
              if (user.password !== req.body.pass ) {
                  console.log("wrong password ") ;
                  res.send(err) ;
              }
               else {
                  //everything ok ...
                  console.log("write to session ") ;
                  req.session.user = user.email ;
                  res.send('go to home') ;
                  res.redirect('/home') ;
              }
          }
      })
  }) ;
  </code></pre>
  
  <p>again , everything works fine , session will get updated AND , i do get a new GET request to /home in my terminal where i ran the server file with node , but , the page won't actually get redirected .. </p>
  
  <p>can someone help me out here ? i'm new to all these node stuff and i have this feeling that i'm just making a silly mistake here that i can't see .. 
  thanks . </p>