Updated toderp

This commit is contained in:
Max Lynch
2013-10-08 18:16:07 -05:00
parent a175b9ce71
commit 7693f64787
4 changed files with 203 additions and 192 deletions

View File

@ -14,7 +14,6 @@ angular.module('ionic.todo.services', ['ionic.todo', 'firebase'])
});
return {
// Try to log in with the given email and pass
login: function(email, password) {
if(!email || !password) {
@ -28,6 +27,10 @@ angular.module('ionic.todo.services', ['ionic.todo', 'firebase'])
});
},
logout: function() {
angularFireAuth.logout();
},
// Try to sign up with the given email and pass
signup: function(email, password) {
if(!email || !password) {