renamed angular controller