Resource q fix

if you see the following commits in this PR:

* refactor(angular.copy): use slice(0) to clone arrays …	 28273b7
* refactor(angular.copy): use array.length=0 to empty arrays	 6b19e7d
* chore(docs): improve docs parser type 

skip them.. they are already in master but github hasn't noticed yet.