Add Insight save and register

This commit is contained in:
Esteban Ordano 2014-10-22 00:14:48 -03:00 committed by Matias Alejo Garcia
commit 5d980af518
9 changed files with 168 additions and 43 deletions

View file

@ -3,15 +3,7 @@
angular.module('copayApp.controllers').controller('HomeController', function($scope, $rootScope, $location, notification, controllerUtils, pluginManager) {
controllerUtils.redirIfLogged();
$scope.retreiving = true;
copay.Identity.anyProfile({
pluginManager: pluginManager,
}, function(any) {
$scope.retreiving = false;
if (!any)
$location.path('/createProfile');
});
$scope.retreiving = false;
$scope.openProfile = function(form) {
if (form && form.$invalid) {