'use strict'; define(['app'], function(app) { app.controller("jb4ToJb5Migration110", ["$rootScope", "$scope", "api", function ($rootScope, $scope, api) { var name = 'jb4ToJb5Migration'; var order = 110; var feature = { _id: order + "_" + name, feature: name, order: order, }; $scope.$on('save', function () { $rootScope.$emit("approve", feature); }); } ] ); });