Improve contact module models

- Fixed reset behavior
- Created an abstract state for the card viewer and editor
- Moved the card instance from the $rootScope.addressbook to the $scope
This commit is contained in:
Francis Lachapelle committed 2014-11-11 22:32:43 -05:00
1 parent 813367c5e6
commit e640fd8cc1
7 files changed
+227 -219

No files matched your search

@@ -18,7 +18,7 @@
* @param {string} content
*/
Dialog.alert = function(title, content) {
var modal = this.$modal.open({
this.$modal.open({
template:
'<h2 data-ng-bind-html="title"></h2>' +
'<p data-ng-bind-html="content"></p>' +