finish all routes by angularJs