define(['jquery', 'bootstrap', 'backend', 'table'], function ($, undefined, Backend, Table) { var Controller = { index: function () { $('.bill-item').click(function (e){ let controllerUrl = $(this).data('controllerurl'); $('#bill-page').attr('src', '../' + controllerUrl); $(this).siblings().removeClass('active'); $(this).addClass('active'); }); }, api: { } }; return Controller; });