using angularjs to access usergrid