Added Angular controller for settings