Merge branch 'jackmu95-patch-1'; fixes about page dialog issue
This commit is contained in:
commit
69c45dfa99
|
@ -20,7 +20,7 @@ angularIO.directive('biocard', function($rootScope, $timeout, $mdDialog) {
|
||||||
$mdDialog.show({
|
$mdDialog.show({
|
||||||
parent: angular.element(document.body),
|
parent: angular.element(document.body),
|
||||||
targetEvent: $event,
|
targetEvent: $event,
|
||||||
scope: scope, // use parent scope in template
|
scope: scope.$new(), // Uses prototypal inheritance to gain access to parent scope
|
||||||
preserveScope: true,
|
preserveScope: true,
|
||||||
template:
|
template:
|
||||||
'<md-dialog class="modal" aria-label="List dialog">' +
|
'<md-dialog class="modal" aria-label="List dialog">' +
|
||||||
|
|
Loading…
Reference in New Issue