Address Book module: Fix selection of card

pull/91/head
Francis Lachapelle 2014-11-14 15:20:18 -05:00
parent 78a349fecd
commit ec56079635
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@
* Controller to view and edit a card
*/
.controller('CardCtrl', ['$scope', '$rootScope', '$timeout', 'sgAddressBook', 'sgCard', 'sgDialog', 'sgFocus', '$state', '$stateParams', 'stateCard', function($scope, $rootScope, $timeout, AddressBook, Card, Dialog, focus, $state, $stateParams, stateCard) {
$scope.card = stateCard;
$rootScope.card = stateCard;
$scope.allEmailTypes = Card.$EMAIL_TYPES;
$scope.allTelTypes = Card.$TEL_TYPES;