Separate angular controller, and service