Accessing NWF webservices using angularjs