Improve usage of ui.router with "resolve"

This commit is contained in:
Francis Lachapelle
2014-11-11 22:32:42 -05:00
parent 7434711025
commit 8d59970506
3 changed files with 290 additions and 288 deletions
@@ -171,10 +171,6 @@
this.$getCard(this.card.id);
};
AddressBook.prototype.$viewerIsActive = function(editMode) {
return (this.card != null && !editMode);
};
// Unwrap a promise
AddressBook.prototype.$unwrap = function(futureAddressBookData) {
var self = this;