added angular controller for test