added angular config and controller