Skip to content

Instantly share code, notes, and snippets.

@ajoy39
Last active March 15, 2016 17:13
Show Gist options
  • Save ajoy39/5265f2ee97c98d22f31d to your computer and use it in GitHub Desktop.
Save ajoy39/5265f2ee97c98d22f31d to your computer and use it in GitHub Desktop.
myApp.factory('cache', function(){
return{};
});
---
controller('benefitVerification', ['$scope', 'cache', '$location', function($scope, cache, $location) {
cache.patient = {
firstName: '',
lastName: '',
middleInitial: '',
SSN: '',
phoneNumber: '',
DOB: '',
gender: '',
address: '',
city: '',
state: '',
postal_code: ''
};
}]);
---
<input name="patientFirstName" ng-model="cache.patient.firstName" required>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment