working user login/sign-up example with own databinding per angular.js
directive
refactored login to signup