Breeze Angular Q-Promises

This breeze.angular.q library has been deprecated. It is superseded by the Breeze Angular Service which more cleanly configures breeze for Angular development.

The Breeze Angular Service tells Breeze to use Angular's $q for promises and to use Angular's $httpfor ajax calls.</br>The breeze.angular.q library has been from removed Breeze Labs. As always, you can retrieve the frozen copy from github.

Migration to “Breeze Angular Service”

Some outdated examples and PluralSight courses still refer to “breeze.angular.q” library and use$q. If you followed their lead, here’s how to migrate your app to the Breeze Angular Service.

You should also track down and eliminate code that configures Breeze to use the “backingStore” model library adapter and $http. For example, you could go from this:

functionconfigBreeze($q,$http,use$q){// use $q for promisesuse$q($q);// use the current module's $http for ajax callsvarajax=breeze.config.initializeAdapterInstance('ajax','angular');ajax.setHttp($http);// the native Breeze 'backingStore' works for Angularbreeze.config.initializeAdapterInstance('modelLibrary','backingStore',true);breeze.NamingConvention.camelCase.setAsDefault();}