()
| 116 | |
| 117 | /* implementation */ |
| 118 | function useNgHttp() { |
| 119 | // configure breeze to use Angular's $http ajax adapter |
| 120 | var ajax = breeze.config.initializeAdapterInstance('ajax', 'angular', true); |
| 121 | ajax.setHttp($http); // use this app's $http instance |
| 122 | } |
| 123 | |
| 124 | function useNgPromises() { |
| 125 | if (breeze.config.setQ) { |