Sending values of hidden fields with AngularJS using ng-value
<p>I need to send the value of a hidden field with ng-value I place the code which I am sending a text content type</p>

<pre><code>&lt;form&gt;
          &lt;div class="comment_it commentupdate"&gt;
            &lt;div class="up_img"&gt;
              &lt;img src="" width="35" height="35" /&gt;
            &lt;/div&gt;
            &lt;div class="comments-text-post-area"&gt;
              &lt;input type="hidden" ng-model="c.cid"  ng-value="'{{p.id}}'"&gt;
              &lt;textarea class="add-y-comment" ng-model="c.comment" placeholder="Comentar"&gt;&lt;/textarea&gt;
            &lt;/div&gt;

            &lt;div class="comment-post-wall"&gt;
              &lt;div class="cancel-comment"&gt;


                  &lt;button type="button" name="button" class="mdl-button mdl-js-button mdl-button--raised" id="" rel=""&gt;CANCELAR&lt;/button&gt;

              &lt;/div&gt;
              &lt;div class="send-comment"&gt;

                    &lt;button type="submit" name="button" class="mdl-button mdl-js-button mdl-button--raised" ng-click="c.addComment()"&gt;ENVIAR&lt;/button&gt;

              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
        &lt;/form&gt;
</code></pre>

<p>In the console Chrome only captures me the written text in the textarea.
<strong>p.id is the value of post to comment</strong></p>

<p>angular
        .module('apiFromApp')</p>

<p>.controller('CommentController', CommentController);</p>

<pre><code>CommentController.$inject = ['$http'];

/* @ngInject */
function CommentController($http) {
    var self = this;

    //sendComment();

    self.addComment = function() {
      console.log(self.cid);
    }
}
</code></pre>