how to get id from url in angularjs