1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

Moving away from ionic to pure angular for popup. Setup gulpfile and some tasks

This commit is contained in:
Kyle Spearrin
2016-09-07 18:51:36 -04:00
parent 4092e2ecc3
commit 68f87b67b0
10 changed files with 152 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
angular
.module('bit.vault')
.controller('vaultController', function ($scope, $ionicModal, siteService, folderService, $q, cipherService) {
.controller('vaultController', function ($scope, siteService, folderService, $q, cipherService) {
$scope.parentScope = $scope;
$scope.sites = [];
$scope.folders = [];
@@ -70,6 +70,7 @@
return item.name.toLowerCase();
};
/*
$scope.viewSite = function (site) {
$scope.focusedSiteId = site.id;
$ionicModal.fromTemplateUrl('app/vault/views/vaultViewSite.html', {
@@ -101,6 +102,7 @@
modal.show();
});
};
*/
$scope.closeAddSite = function () {
$scope.addSiteModal.hide();