1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 23:33:31 +00:00

initial commit of source

This commit is contained in:
Kyle Spearrin
2015-12-08 22:35:05 -05:00
parent 1fe75015be
commit df69bdbc21
94 changed files with 3980 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
angular
.module('bit.accounts')
.controller('accountsRegisterController', function ($scope, $rootScope, apiService) {
$scope.success = false;
$scope.registerPromise = null;
$scope.register = function (model) {
$scope.registerPromise = apiService.accounts.registerToken({ email: model.email }, function () {
$scope.success = true;
}).$promise;
};
});