Improve usage of ui.router with "resolve"

This commit is contained in:
Francis Lachapelle
2014-09-17 16:28:40 -04:00
parent 5886568d95
commit aaecc91db9
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;