Correct bug

This commit is contained in:
Loic GUEGAN 2016-04-18 13:16:50 +02:00
parent ae4e028231
commit 5b5f526aa0
4 changed files with 19 additions and 11 deletions

View file

@ -5,8 +5,9 @@
*/
mainApp.controller('editImageCtrl', ['$scope', 'Image', 'Loading', 'Identity', 'upload', function ($scope, Image, Loading, Identity, upload)
{
$scope.$on('editImageEvent', function (eventName, image) {
$scope.$on('editImageEvent', function (eventName, image,axioms) {
$scope.image = image;
$scope.axioms=axioms;
$('#editImageModal').modal('show');
console.log(image)
});