working on controllers for ng