Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var app = angular.module("contamaxx", ['ngMaterial', 'ngMessages']);
- app.controller("reportesAdminController", function($scope, $http, $window, $filter, $mdDialog) {
- $scope.mostrarAlerta("Se debe adicionar el campo Motivo del Anexo Nuevo", true);
- $scope.mostrarAlerta = function(texto, accion){
- $mdDialog.show({
- controller: 'crearpolizasController',
- template:
- '' +
- ' Seguros
- '+texto+'' +
- ' ' +
- ' ' +
- ' Continuar' +
- ' '+
- ' ' +
- '',
- hasBackdrop: false,
- clickOutsideToClose: true,
- controller: DialogController
- }).then(function(){
- if(accion){
- }else{
- return true;
- }
- },function(){
- });
- }
- });
Add Comment
Please, Sign In to add comment