replace angular-resource
Fixed mixin bug
fix mixin bug