sebastienrousseau / generator-avionic

✈ AVIONIC - A Yeoman generator using AngularJS, Express, ngCordova, Gulp and Bower that helps you kickstart highly sophisticated Ionic projects to evolve and upgrade every aspect of your development to the next moonshot.
http://avionic.io
MIT License
11 stars 2 forks source link

+ Integrate Restangular to the generator #1

Closed sebastienrousseau closed 9 years ago

sebastienrousseau commented 9 years ago

Restangular is an AngularJS service that simplifies common GET, POST, DELETE, and UPDATE requests with a minimum of client code.

https://github.com/mgonto/restangular

Definition of Done 1) When restangular is added to the generator build and dependencies (npm, bower etc) 2) When Restangular is added to controllers and the ExampleService 3) When all common GET, POST, DELETE, and UPDATE requests are completed and tested 4) When unit tests are done 5) When errors and cache requests are handled

sebastienrousseau commented 9 years ago

1) Added "restangular": "^1.5.1" to _package.json

sebastienrousseau commented 9 years ago

2) Added "restangular" location to _vendor.json

sebastienrousseau commented 9 years ago

This feature is invalidated after trying it locally, defaulting to ngResource, much cleaner. https://docs.angularjs.org/api/ngResource