Last active
March 29, 2019 19:19
-
-
Save matheusmurta/740822bf87398c907752e10a9b614ffa to your computer and use it in GitHub Desktop.
Imed atalhos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<span ng-bind="'action.add' | translate"></span> | |
title="{{'action.add' | translate}} | |
ng-bind="'xxxxxx' | translate" | |
//Modal | |
openUnsavedChangeModal(); | |
var openUnsavedChangeModal = function () { | |
var modalInstance = $uibModal.open({ | |
templateUrl: '/views/documentmodel/unsaved-change-modal', | |
controller: unSavedChangeCtrl, | |
size: 'md', | |
backdrop: 'static', | |
}); | |
modalInstance.result.then(function (result) { | |
$scope.unsaved_document = result.unsaved; | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment