Kamal Reddy
Kamal Reddy

Reputation: 2680

Angularjs on server

Is it possible to use angularjs services like $q and $http on server side nodejs code? I have to frequently share code between server and client making it necessary to use libraries that work both on server and client.

Upvotes: 1

Views: 355

Answers (1)

MaxWillmott
MaxWillmott

Reputation: 2220

Angularjs is a client side framework. I think the more appropriate question would be using Javascript on the server which are mpm mentions there is node.js for that.

The $q on the server side would be like using the q library in node.js.

The $http on the server side would be like using the request library in node.js

Upvotes: 1

Related Questions