Infosys interview question

Write a route in angularjs