Custom comparisons, performance improvements

This commit is contained in:
Colin McLeod
2015-05-20 00:29:24 -07:00
parent 02fe76f43b
commit 6c1e3a7410
146 changed files with 1096 additions and 1062 deletions

View File

@@ -1,5 +1,5 @@
angular.module('app').controller('ModalController', ['$rootScope','$scope', '$state', function ($rootScope, $scope, $state) {
var dismissListener;
$scope.dismiss = function() {
if ($rootScope.prevState) {
var state = $rootScope.prevState;
@@ -7,7 +7,7 @@ angular.module('app').controller('ModalController', ['$rootScope','$scope', '$st
} else {
$state.go('shipyard');
}
}
};
$scope.$on('close', $scope.dismiss);