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-09-29 11:06:46 -04:00
1 parent 33179bbfb9
commit caa920e0ff
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>' +