mirror of
https://github.com/moparisthebest/mail
synced 2024-12-22 07:18:49 -05:00
Add TODO comments to controllers
This commit is contained in:
parent
c221372ed4
commit
da416f4329
@ -19,6 +19,8 @@ var LoginCtrl = function($scope, $location) {
|
||||
initializeUser();
|
||||
});
|
||||
|
||||
// TODO: move to Account service login function
|
||||
|
||||
function initializeUser() {
|
||||
// get OAuth token from chrome
|
||||
appController._auth.getEmailAddress(function(err, info) {
|
||||
|
@ -8,6 +8,8 @@ var ValidatePhoneCtrl = function($scope, $location, $routeParams, mailConfig) {
|
||||
return;
|
||||
}
|
||||
|
||||
// TODO: move to Account service create function
|
||||
|
||||
$scope.validateUser = function() {
|
||||
if ($scope.form.$invalid) {
|
||||
$scope.errMsg = 'Please fill out all required fields!';
|
||||
|
Loading…
Reference in New Issue
Block a user