Skip to content

Instantly share code, notes, and snippets.

@matheusmurta
Last active March 29, 2019 19:19
Show Gist options
  • Save matheusmurta/740822bf87398c907752e10a9b614ffa to your computer and use it in GitHub Desktop.
Save matheusmurta/740822bf87398c907752e10a9b614ffa to your computer and use it in GitHub Desktop.
Imed atalhos
<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