dresende / node-orm2

Object Relational Mapping
http://github.com/dresende/node-orm2
MIT License
3.07k stars 379 forks source link

How to use ORM with AngularJS ? #701

Open tamkeen-tms opened 8 years ago

tamkeen-tms commented 8 years ago

Hi there, ORM is awesome, it gonna save me a lot of time, thanks :+1:

But I don't know how to integrate it with in my AngularJS application. I have created the connection successfully and the models too, but I don't know how to use a model inside a controller for example or a service ? How to call it inside an angular's scope ?

Thanks,

dxg commented 8 years ago

AngularJS is a front end framework used in browsers. ORM is a backend tool used on servers.

How exactly are you using one with the other?

tamkeen-tms commented 8 years ago

I am building an Electron application