Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
POST - Angular view form example.
<form ng-controller="ContactCtrl">
<input type="text" ng-model="" />
<input type="checkbox" ng-model="contact.isEnabled()" />
<div ng-show="contact.isFavorite()">
<p>More data just for favorite contacts...</p>
<input type="text" ng-model="contact.address" ng-required="contact.isAddressRequired()" />
<button ng-click="save()">Save</button>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.