Fixing the about page

This commit is contained in:
Naomi Black 2015-06-18 22:06:09 -07:00
commit eb393cb189
1 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ angularIO.directive('biocard', function($rootScope, $timeout, $mdDialog) {
$mdDialog.show({
parent: angular.element(document.body),
targetEvent: $event,
scope: scope, // use parent scope in template
scope: scope.$new(), // Uses prototypal inheritance to gain access to parent scope
preserveScope: true,
template:
'<md-dialog class="modal" aria-label="List dialog">' +