Modified "Not My Server" sample from Breeze.js website. Using Angular 1.2, breeze.to$q promises, and configuring breeze metadata using breeze.metadata-helper.js