Update public/js/controllers.js