$uibModal.open({
templateUrl: './acq/t_edit_marc_order_record',
size: 'lg',
+ backdrop: 'static',
controller:
['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
$scope.focusMe = true;
gridControls = $scope.gridControls;
$uibModal.open({
template : templ,
+ backdrop: 'static',
controller : [
'$scope', '$uibModalInstance',
function($scope , $uibModalInstance) {
var deferred = $q.defer();
$uibModal.open({
templateUrl: './admin/local/rating/edit_badge',
+ backdrop: 'static',
controller:
['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
$scope.focusMe = true;
service.create_or_edit_template = function(id,ou,cb) {
$uibModal.open({
template: '<eg-serials-template template_id="' + id + '" owning_lib="' + ou + '"></eg-serials-template>',
+ backdrop: 'static',
controller:
['sharedScope','$uibModalInstance',
function(sharedScope , $uibModalInstance ) {
gridControls = $scope.gridControls;
$uibModal.open({
template : templ,
+ backdrop: 'static',
controller : [
'$scope', '$uibModalInstance',
function($scope , $uibModalInstance) {
gridControls = $scope.gridControls;
$uibModal.open({
template : templ,
+ backdrop: 'static',
controller : [
'$scope', '$uibModalInstance',
function($scope , $uibModalInstance) {
gridControls = $scope.gridControls;
$uibModal.open({
template : templ,
+ backdrop: 'static',
controller : [
'$scope', '$uibModalInstance',
function($scope , $uibModalInstance) {
gridControls = $scope.gridControls;
$uibModal.open({
template : templ,
+ backdrop: 'static',
controller : [
'$scope', '$uibModalInstance',
function($scope , $uibModalInstance) {
$scope.openCreateBucketDialog = function() {
$uibModal.open({
templateUrl: './cat/bucket/share/t_bucket_create',
+ backdrop: 'static',
controller:
['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
$scope.focusMe = true;
$scope.openEditBucketDialog = function() {
$uibModal.open({
templateUrl: './cat/bucket/share/t_bucket_edit',
+ backdrop: 'static',
controller:
['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
$scope.focusMe = true;
$scope.openDeleteBucketDialog = function() {
$uibModal.open({
templateUrl: './cat/bucket/share/t_bucket_delete',
+ backdrop: 'static',
controller :
['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
$scope.bucket = function() { return bucketSvc.currentBucket }
$scope.openSharedBucketDialog = function() {
$uibModal.open({
templateUrl: './cat/bucket/share/t_load_shared',
+ backdrop: 'static',
controller :
['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
$scope.focusMe = true;
return $uibModal.open({
templateUrl: './cat/catalog/t_request_items',
+ backdrop: 'static',
animation: true,
controller:
['$scope','$uibModalInstance',
$scope.applyTags = function(copies) {
return $uibModal.open({
templateUrl: './cat/bucket/copy/t_apply_tags',
+ backdrop: 'static',
animation: true,
controller:
['$scope','$uibModalInstance',
$scope.openCreateBucketDialog = function() {
$uibModal.open({
templateUrl: './cat/bucket/share/t_bucket_create',
+ backdrop: 'static',
controller:
['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
$scope.focusMe = true;
$scope.openEditBucketDialog = function() {
$uibModal.open({
templateUrl: './cat/bucket/share/t_bucket_edit',
+ backdrop: 'static',
controller:
['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
$scope.focusMe = true;
$scope.openDeleteBucketDialog = function() {
$uibModal.open({
templateUrl: './cat/bucket/share/t_bucket_delete',
+ backdrop: 'static',
controller :
['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
$scope.bucket = function() { return bucketSvc.currentBucket }
$scope.openSharedBucketDialog = function() {
$uibModal.open({
templateUrl: './cat/bucket/share/t_load_shared',
+ backdrop: 'static',
controller :
['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
$scope.focusMe = true;
$scope.openExportBucketDialog = function() {
$uibModal.open({
templateUrl: './cat/bucket/record/t_bucket_export',
+ backdrop: 'static',
controller :
['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
$scope.args = {format : 'XML', encoding : 'UTF-8'}; // defaults
$scope.openRecordMergeDialog = function(records) {
$uibModal.open({
templateUrl: './cat/bucket/record/t_merge_records',
+ backdrop: 'static',
size: 'lg',
windowClass: 'eg-wide-modal',
controller:
$uibModal.open({
templateUrl: './cat/bucket/record/t_edit_lead_record',
+ backdrop: 'static',
size: 'lg',
controller:
['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
if (failures.length) {
$uibModal.open({
templateUrl: './cat/bucket/record/t_records_not_deleted',
+ backdrop: 'static',
controller :
['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
$scope.failures = failures;
var recId = $scope.record_id;
return $uibModal.open({
templateUrl: './cat/catalog/t_add_to_bucket',
+ backdrop: 'static',
animation: true,
size: 'md',
controller:
var recId = $scope.record_id;
return $uibModal.open({
templateUrl: './share/t_subscription_select_dialog',
+ backdrop: 'static',
controller: ['$scope', '$uibModalInstance',
function($scope, $uibModalInstance) {
patron_search_dialog = function() {
return $uibModal.open({
templateUrl: './share/t_patron_selector',
+ backdrop: 'static',
size: 'lg',
animation: true,
controller:
return $uibModal.open({
templateUrl: './cat/catalog/t_conjoined_selector',
+ backdrop: 'static',
animation: true,
controller:
['$scope','$uibModalInstance',
return $uibModal.open({
templateUrl: './cat/catalog/t_add_to_bucket',
+ backdrop: 'static',
animation: true,
size: 'md',
controller:
if (combined_results.length > 0) {
$uibModal.open({
template: '<eg-embed-frame url="booking_admin_url" handlers="funcs"></eg-embed-frame>',
+ backdrop: 'static',
animation: true,
size: 'md',
controller:
if (combined_brt.length > 0 || combined_brsrc.length > 0) {
$uibModal.open({
template: '<eg-embed-frame url="booking_admin_url" handlers="funcs"></eg-embed-frame>',
+ backdrop: 'static',
animation: true,
size: 'md',
controller:
angular.forEach(copy_list, function (cp) {
$uibModal.open({
templateUrl: './cat/share/t_replace_barcode',
+ backdrop: 'static',
animation: true,
controller:
['$scope','$uibModalInstance',
$scope.markLibAsVolTarget = function() {
return $uibModal.open({
templateUrl: './cat/catalog/t_choose_vol_target_lib',
+ backdrop: 'static',
animation: true,
controller:
['$scope','$uibModalInstance',
return $uibModal.open({
templateUrl: './cat/catalog/t_conjoined_selector',
+ backdrop: 'static',
animation: true,
controller:
['$scope','$uibModalInstance',
var vqbibrecId = bre.id();
$uibModal.open({
templateUrl: './cat/catalog/t_edit_marc_modal',
+ backdrop: 'static',
size: 'lg',
controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
$scope.focusMe = true;
if (key) {
$uibModal.open({
templateUrl: './cat/share/t_embedded_volcopy',
+ backdrop: 'static',
size: 'lg',
windowClass: 'eg-wide-modal',
controller:
var args = { changed : false };
$uibModal.open({
templateUrl: './cat/share/t_authority_link_dialog',
+ backdrop: 'static',
size: 'lg',
controller: ['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
$scope.controlSet = cs;
return $uibModal.open({
templateUrl: './cat/volcopy/t_copy_notes',
+ backdrop: 'static',
animation: true,
controller:
['$scope','$uibModalInstance',
return $uibModal.open({
templateUrl: './cat/volcopy/t_copy_tags',
+ backdrop: 'static',
animation: true,
controller:
['$scope','$uibModalInstance',
$scope.showRawSearchForm = function() {
$uibModal.open({
templateUrl: './cat/z3950/t_raw_search',
+ backdrop: 'static',
size: 'md',
controller:
['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
var recId = 0;
$uibModal.open({
templateUrl: './cat/z3950/t_marc_edit',
+ backdrop: 'static',
size: 'lg',
controller:
['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
var items = $scope.gridControls.selectedItems();
$uibModal.open({
templateUrl: './cat/z3950/t_marc_html',
+ backdrop: 'static',
size: 'lg',
controller:
['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
};
$uibModal.open({
templateUrl: './cat/z3950/t_overlay',
+ backdrop: 'static',
size: 'lg',
controller:
['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
$scope.editOverlayRecord = function() {
$uibModal.open({
templateUrl: './cat/z3950/t_edit_overlay_record',
+ backdrop: 'static',
size: 'lg',
controller:
['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
$scope.openCreateBucketDialog = function() {
$uibModal.open({
templateUrl: './circ/patron/bucket/t_bucket_create',
+ backdrop: 'static',
controller:
['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
$scope.focusMe = true;
$scope.newNote = function() {
$uibModal.open({
templateUrl: './circ/patron/t_new_note_dialog',
+ backdrop: 'static',
controller:
['$scope', '$uibModalInstance',
function($scope, $uibModalInstance) {
user.card(card);
$uibModal.open({
templateUrl: './circ/patron/t_move_to_group_dialog',
+ backdrop: 'static',
controller: [
'$scope','$uibModalInstance',
function($scope , $uibModalInstance) {
return $uibModal.open({
templateUrl : './circ/patron/t_cc_payment_dialog',
+ backdrop: 'static',
controller : [
'$scope','$uibModalInstance',
function($scope , $uibModalInstance) {
$scope.openCreateBucketDialog = function() {
$uibModal.open({
templateUrl: './circ/patron/bucket/t_bucket_create',
+ backdrop: 'static',
controller:
['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
$scope.focusMe = true;
$scope.openEditBucketDialog = function() {
$uibModal.open({
templateUrl: './circ/patron/bucket/t_bucket_edit',
+ backdrop: 'static',
controller:
['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
$scope.focusMe = true;
$scope.openDeleteBucketDialog = function() {
$uibModal.open({
templateUrl: './circ/patron/bucket/t_bucket_delete',
+ backdrop: 'static',
controller :
['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
$scope.bucket = function() { return bucketSvc.currentBucket }
$scope.openSharedBucketDialog = function() {
$uibModal.open({
templateUrl: './circ/patron/bucket/t_load_shared',
+ backdrop: 'static',
controller :
['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
$scope.focusMe = true;
$uibModal.open({
templateUrl: './circ/patron/bucket/t_update_statcats',
+ backdrop: 'static',
controller:
['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
$scope.running = false;
$uibModal.open({
templateUrl: './circ/patron/bucket/t_changesets',
+ backdrop: 'static',
controller:
['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
$scope.running = false;
$uibModal.open({
templateUrl: './circ/patron/bucket/t_update_all',
+ backdrop: 'static',
controller:
['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
$scope.running = false;
$uibModal.open({
templateUrl: './circ/patron/bucket/t_delete_all',
+ backdrop: 'static',
controller:
['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
$scope.running = false;
$uibModal.open({
templateUrl : './circ/patron/t_edit_due_date_dialog',
+ backdrop: 'static',
controller : [
'$scope','$uibModalInstance',
function($scope , $uibModalInstance) {
return $uibModal.open({
templateUrl : './circ/patron/t_edit_due_date_dialog',
templateUrl : './circ/patron/t_renew_with_date_dialog',
+ backdrop: 'static',
controller : [
'$scope','$uibModalInstance',
function($scope , $uibModalInstance) {
$scope.cards_dialog = function() {
$uibModal.open({
templateUrl: './circ/patron/t_patron_cards_dialog',
+ backdrop: 'static',
controller:
['$scope','$uibModalInstance','cards','perms',
function($scope , $uibModalInstance , cards , perms) {
$scope.secondary_groups_dialog = function() {
$uibModal.open({
templateUrl: './circ/patron/t_patron_groups_dialog',
+ backdrop: 'static',
controller:
['$scope','$uibModalInstance','linked_groups','pgt_depth',
function($scope , $uibModalInstance , linked_groups , pgt_depth) {
return $uibModal.open({
templateUrl: './circ/share/t_bill_patron_dialog',
+ backdrop: 'static',
controller:
['$scope','$uibModalInstance','$timeout','billingTypes','xact','patron',
function($scope , $uibModalInstance , $timeout , billingTypes , xact , patron) {
egCore.audio.play('warning.circ.event_override');
return $uibModal.open({
templateUrl: './circ/share/t_event_override_dialog',
+ backdrop: 'static',
controller:
['$scope', '$uibModalInstance',
function($scope, $uibModalInstance) {
if (angular.isArray(evt)) evt = evt[0];
return $uibModal.open({
templateUrl: './circ/share/t_copy_not_avail_dialog',
+ backdrop: 'static',
controller:
['$scope','$uibModalInstance','copyStatus',
function($scope , $uibModalInstance , copyStatus) {
return $uibModal.open({
templateUrl: './circ/share/t_noncat_dialog',
+ backdrop: 'static',
controller:
['$scope', '$uibModalInstance',
function($scope, $uibModalInstance) {
return $uibModal.open({
templateUrl: './circ/share/t_precat_dialog',
+ backdrop: 'static',
controller:
['$scope', '$uibModalInstance', 'circMods',
function($scope, $uibModalInstance, circMods) {
if (angular.isArray(evt)) evt = evt[0];
return $uibModal.open({
templateUrl: './circ/share/t_copy_in_transit_dialog',
+ backdrop: 'static',
controller:
['$scope','$uibModalInstance','transit',
function($scope , $uibModalInstance , transit) {
return $uibModal.open({
templateUrl: './circ/share/t_circ_exists_dialog',
+ backdrop: 'static',
controller:
['$scope','$uibModalInstance',
function($scope , $uibModalInstance) {
service.backdate_dialog = function(circ_ids) {
return $uibModal.open({
templateUrl: './circ/share/t_backdate_dialog',
+ backdrop: 'static',
controller:
['$scope','$uibModalInstance',
function($scope , $uibModalInstance) {
return $uibModal.open({
templateUrl: './circ/share/t_mark_claims_returned_dialog',
+ backdrop: 'static',
controller:
['$scope','$uibModalInstance',
function($scope , $uibModalInstance) {
return $uibModal.open({
templateUrl: tmpl,
+ backdrop: 'static',
controller: [
'$scope','$uibModalInstance',
function($scope , $uibModalInstance) {
if (angular.isArray(evt)) evt = evt[0];
return $uibModal.open({
templateUrl: './circ/checkin/t_hold_verify',
+ backdrop: 'static',
controller:
['$scope','$uibModalInstance','params',
function($scope , $uibModalInstance , params) {
egCore.audio.play('warning.circ.bad_barcode');
return $uibModal.open({
templateUrl: './circ/share/t_bad_barcode_dialog',
+ backdrop: 'static',
controller:
['$scope', '$uibModalInstance',
function($scope, $uibModalInstance) {
.then(function() {
return $uibModal.open({
templateUrl: './circ/share/t_barcode_choice_dialog',
+ backdrop: 'static',
controller:
['$scope', '$uibModalInstance',
function($scope, $uibModalInstance) {
service.create_penalty = function(user_id) {
return $uibModal.open({
templateUrl: './circ/share/t_new_message_dialog',
+ backdrop: 'static',
controller:
['$scope','$uibModalInstance','staffPenalties',
function($scope , $uibModalInstance , staffPenalties) {
service.edit_penalty = function(usr_penalty) {
return $uibModal.open({
templateUrl: './circ/share/t_new_message_dialog',
+ backdrop: 'static',
controller:
['$scope','$uibModalInstance','staffPenalties',
function($scope , $uibModalInstance , staffPenalties) {
return $uibModal.open({
templateUrl : './circ/share/t_cancel_hold_dialog',
+ backdrop: 'static',
controller :
['$scope', '$uibModalInstance', 'cancel_reasons',
function($scope, $uibModalInstance, cancel_reasons) {
return $uibModal.open({
templateUrl : './circ/share/t_uncancel_hold_dialog',
+ backdrop: 'static',
controller :
['$scope', '$uibModalInstance',
function($scope, $uibModalInstance) {
if (!hold_ids.length) return $q.when();
return $uibModal.open({
templateUrl : './circ/share/t_hold_copy_quality_dialog',
+ backdrop: 'static',
controller :
['$scope', '$uibModalInstance',
function($scope, $uibModalInstance) {
if (!hold_ids.length) return $q.when();
return $uibModal.open({
templateUrl : './circ/share/t_hold_edit_pickup_lib',
+ backdrop: 'static',
controller :
['$scope', '$uibModalInstance',
function($scope, $uibModalInstance) {
if (!hold_ids.length) return $q.when();
return $uibModal.open({
templateUrl : './circ/share/t_hold_notification_prefs',
+ backdrop: 'static',
controller :
['$scope', '$uibModalInstance', 'sms_carriers',
function($scope, $uibModalInstance, sms_carriers) {
return $uibModal.open({
templateUrl : './circ/share/t_hold_dates',
+ backdrop: 'static',
controller :
['$scope', '$uibModalInstance',
function($scope, $uibModalInstance) {
$scope.new_note = function() {
return $uibModal.open({
templateUrl : './circ/share/t_hold_note_dialog',
+ backdrop: 'static',
controller :
['$scope', '$uibModalInstance',
function($scope, $uibModalInstance) {
$scope.new_notification = function() {
return $uibModal.open({
templateUrl : './circ/share/t_hold_notification_dialog',
+ backdrop: 'static',
controller :
['$scope', '$uibModalInstance',
function($scope, $uibModalInstance) {
return $uibModal.open({
templateUrl: './cat/catalog/t_add_to_bucket',
+ backdrop: 'static',
animation: true,
size: 'md',
controller:
if (combined_results.length > 0) {
$uibModal.open({
template: '<eg-embed-frame url="booking_admin_url" handlers="funcs"></eg-embed-frame>',
+ backdrop: 'static',
animation: true,
size: 'md',
controller:
if (combined_brt.length > 0 || combined_brsrc.length > 0) {
$uibModal.open({
template: '<eg-embed-frame url="booking_admin_url" handlers="funcs"></eg-embed-frame>',
+ backdrop: 'static',
animation: true,
size: 'md',
controller:
return $uibModal.open({
templateUrl: './cat/catalog/t_request_items',
+ backdrop: 'static',
animation: true,
controller:
['$scope','$uibModalInstance','egUser',
return $uibModal.open({
templateUrl: './cat/catalog/t_conjoined_selector',
+ backdrop: 'static',
animation: true,
controller:
['$scope','$uibModalInstance',
angular.forEach(items, function (cp) {
$uibModal.open({
templateUrl: './cat/share/t_replace_barcode',
+ backdrop: 'static',
animation: true,
controller:
['$scope','$uibModalInstance',
var deferred = $q.defer();
$uibModal.open({
templateUrl: './circ/share/t_merge_patrons',
+ backdrop: 'static',
size: 'lg',
windowClass: 'eg-wide-modal',
controller:
return $uibModal.open({
templateUrl : './circ/share/t_abort_transit_dialog',
+ backdrop: 'static',
controller :
['$scope', '$uibModalInstance',
function($scope, $uibModalInstance) {
// FIXME what follows ought to be refactored into a factory
return $uibModal.open({
templateUrl: './cat/catalog/t_add_to_bucket',
+ backdrop: 'static',
animation: true,
size: 'md',
controller:
$scope.cards_dialog = function() {
$uibModal.open({
templateUrl: './circ/patron/t_patron_cards_dialog',
+ backdrop: 'static',
controller:
['$scope','$uibModalInstance','cards','perms',
function($scope , $uibModalInstance , cards , perms) {
$scope.secondary_groups_dialog = function() {
$uibModal.open({
templateUrl: './circ/patron/t_patron_groups_dialog',
+ backdrop: 'static',
controller:
['$scope','$uibModalInstance','linked_groups','pgt_depth',
function($scope , $uibModalInstance , linked_groups , pgt_depth) {
}
$uibModal.open({
templateUrl: './share/t_edit_mfhd',
+ backdrop: 'static',
size: 'lg',
controller:
['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
$scope.importScapFromBibRecord = function() {
$uibModal.open({
templateUrl: './serials/t_select_pattern_dialog',
- size: 'md',
backdrop: 'static',
+ size: 'md',
controller:
['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
$scope.focusMe = true;
$scope.openPatternEditorDialog = function(pred, form, viewOnly) {
$uibModal.open({
templateUrl: './serials/t_pattern_editor_dialog',
+ backdrop: 'static',
size: 'lg',
windowClass: 'eg-wide-modal',
backdrop: 'static',
).then(function(list) {
$uibModal.open({
templateUrl: './serials/t_routing_list',
+ backdrop: 'static',
controller: 'RoutingCtrl',
resolve : {
rowInfo : function() {
} else {
last_promise = current_promise.then(function(){ return $uibModal.open({
templateUrl: './serials/t_receive_alerts',
+ backdrop: 'static',
controller:
['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
$scope.title = egCore.strings.CONFIRM_CHANGE_ITEMS[mode];
service.open = function(bibId, orgId) {
return $uibModal.open({
templateUrl: './share/t_mfhd_create_dialog',
+ backdrop: 'static',
controller: ['$scope', '$uibModalInstance',
function($scope, $uibModalInstance) {
$scope.mfhd_lib = orgId ?
service.changeOperator = function(permEvt) {
return $uibModal.open({
templateUrl: './share/t_opchange',
+ backdrop: 'static',
controller:
['$scope', '$uibModalInstance', function($scope, $uibModalInstance) {
$scope.args = {username : '', password : '', type : 'temp'};
service.open = function(args) {
return $uibModal.open({
templateUrl: './share/t_progress_dialog',
+ /* backdrop: 'static', */ /* allow 'cancelling' of progress dialog */
controller: ['$scope','$uibModalInstance','egProgressData',
function( $scope , $uibModalInstance , egProgressData) {
// Once the new modal instance is available, force-
service.open = function(message, msg_scope) {
return $uibModal.open({
templateUrl: './share/t_alert_dialog',
+ backdrop: 'static',
controller: ['$scope', '$uibModalInstance',
function($scope, $uibModalInstance) {
$scope.message = $interpolate(message)(msg_scope);
msg_scope = msg_scope || {};
return $uibModal.open({
templateUrl: './share/t_confirm_dialog',
+ backdrop: 'static',
controller: ['$scope', '$uibModalInstance',
function($scope, $uibModalInstance) {
$scope.title = $interpolate(title)(msg_scope);
service.open = function(message, promptValue, msg_scope) {
return $uibModal.open({
templateUrl: './share/t_prompt_dialog',
+ backdrop: 'static',
controller: ['$scope', '$uibModalInstance',
function($scope, $uibModalInstance) {
$scope.message = $interpolate(message)(msg_scope);
service.open = function(message, inputList, selectedValue, msg_scope) {
return $uibModal.open({
templateUrl: './share/t_select_dialog',
+ backdrop: 'static',
controller: ['$scope', '$uibModalInstance',
function($scope, $uibModalInstance) {
$scope.message = $interpolate(message)(msg_scope);