Configured ButtonsCtrl with .controller() function.