adding location unit test
adding location to angular controler