added controller. issue with angular