added angular controller