adding angular controllers to the layout