adding controllers to route file, moving swipe back enable to enter event
This commit is contained in:
parent
91b62bb884
commit
14baa77404
15 changed files with 50 additions and 34 deletions
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
angular.module('copayApp.controllers').controller('welcomeController', function($scope, $state, $timeout, $ionicConfig, $log, profileService, startupService, storageService) {
|
||||
|
||||
$scope.$parent.$on("$ionicView.afterEnter", function() {
|
||||
$scope.$on("$ionicView.afterEnter", function() {
|
||||
startupService.ready();
|
||||
});
|
||||
|
||||
$scope.$on("$ionicView.beforeEnter", function() {
|
||||
$scope.$on("$ionicView.enter", function() {
|
||||
$ionicConfig.views.swipeBackEnabled(false);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue