angular1-apollo
Use your GraphQL server data in your Angular 1.0 app, with the Apollo Client.
Install
npm install angular1-apollo apollo-client --save
API
angular.module'app',
Default client
ApolloProvider.defaultClient
; angular.module'app', .config;
Queries
Apollo.query(options): Promise
; angular.module'app' .controller'AppCtrl',;
Mutations
Apollo.mutate(options): Promise
; angular.module'app' .controller'AppCtrl',;
Development
This project uses TypeScript for static typing and TSLint for linting. You can get both of these built into your editor with no configuration by opening this project in Visual Studio Code, an open source IDE which is available for free on all platforms.