title: Post array to database from inputs
body: <p>I have a litte problem and please some advices or help how I can solve this annoying problem. 
  Question: How save values from multiple inputs in on array? In present code in database save only first input, and if I write something in first input in others is writing the same (I think the problem is in ng-model).</p>
  
  <p>index.html</p>
  
  <pre><code>&lt;div class="form-group"&gt;
    &lt;form&gt;
      &lt;input type="text" ng-model="description" name="description" class="form-control" required&gt;
      &lt;input type="text" ng-model="description" name="description" class="form-control" required&gt;
      &lt;input type="text" ng-model="description" name="description" class="form-control" required&gt;
      &lt;button type="submit"&gt;Save&lt;/button&gt;
    &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>api.js</p>
  
  <pre><code>    router.post('/courses', function(req, res){
  var course = new Product();
  course.description  = req.body.description;
      course.save(function(err){
          if(err){
            console.log(err)
          } else {
              res.json({success:true, message:'saved!'});
          }
      })
  });
  </code></pre>
  
  <p>service</p>
  
  <pre><code>    userFactory.createNewCourse = function(productData){
  return $http.post('/api/courses', productData)
  </code></pre>
  
  <p>}</p>