start angularizing sign up form

This commit is contained in:
Michael Q Larson
2015-01-09 17:52:19 -08:00
parent 99253a7745
commit 3e7da5ae98
6 changed files with 126 additions and 54 deletions

3
app.js
View File

@ -258,6 +258,9 @@ app.get(
);
app.all('/account', passportConf.isAuthenticated);
app.get('/account/api', userController.getAccountAngular);
// Unique Check API route
app.get('/api/checkUniqueUsername/:username', userController.checkUniqueUsername);
app.get('/api/checkUniqueEmail/:email', userController.checkUniqueEmail);
app.get('/account', userController.getAccount);
app.post('/account/profile', userController.postUpdateProfile);
app.post('/account/password', userController.postUpdatePassword);