Using Hidden Input in a Form in AngularJS Image

Using Hidden Input in a Form in AngularJS

Table Of Contents

This ended up being an interesting little problem for me during one of my programming sessions. Below you'll find a couple of different methods that you can use to pass hidden data to any form submission using AngularJS.

Method 1

1
<input type="text" name="someData" ng-model="data" style="display: none;"/>
Was This Post Helpful?
Submit a PR: Edit on Github