angular-app / Samples

Sample code - chapter by chapter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code Errata Chapter 3 CustomResource

paboulos opened this issue · comments

commented

Is line 27 correct?

params:angular.extend({q:JSON.stringify({} || params)}, defaultParams)

The JSON.stringify({} || params) always returns {} but it should use the defined params object.