angularjs pass url parameter to controller