collisionCluesCtrl.js
1.01 KB
(function(angular) {
function collisionCluesCtrl($scope, DTOptionsBuilder, DTColumnBuilder, aiNicheService, $uibModal, $filter, $state,$q,$http,$rootScope) {
}
/*function mapCtrl($scope,$uibModalInstance) {
$scope.loadiframe = function () {
}
var time = setTimeout(function () {
var iframe = document.getElementById('getAddress').contentWindow;
iframe.postMessage('hello', 'https://m.amap.com/picker/');
top.window.addEventListener("message", function (e) {
if (e.data.command != "COMMAND_GET_TITLE") {
var location = e.data.location.split(",")
var obj = e.data;
obj.lng = location[0];
obj.lat = location[1];
$uibModalInstance.close(obj);
}
}.bind(this), false);
}, 1000)
}*/
angular.module('AIniche').controller('collisionCluesCtrl', collisionCluesCtrl)
//.controller('mapCtrl', mapCtrl)
})(angular);