1
0
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:
Tankred Hase 2014-11-19 15:46:20 +01:00
parent c221372ed4
commit da416f4329
2 changed files with 4 additions and 0 deletions

View File

@ -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) {

View File

@ -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!';