added angular controller and view