I have some angular js code here.
First of all, create a RESTful service using Express/Restify which are npm modules, based on your needs which will in turn talk to your SQL database.
Once the service is up and running at the server-level, you are now ready to send/receive data to/from the server at the client-level.
Note: Make use of $resource instead of $http service of AngularJS for talking to the server.
https://docs.angularjs.org/api/ngResource/service/$resource