Add support for customizable resourceName with default as 'user', so that custom devise resource_name can be configured via AuthProvider.resourceName(value).
Add support for customizable resourceName with default as 'user', so that custom devise resource_name can be configured via AuthProvider.resourceName(value).
Revision based on pull request comments and such:
Reverted lib changes;
Refactored resourceName in payload data to httpConfig();
Corrected return value of resourceName();
Added unit tests for resourceName configuration and .login, .register actions under various resourceName scenarios.
Allow falsey resourceNames
Revamp resourceName specs
Merge remote-tracking branch 'origin/resource_name'

Closes #20.
Fix incorrect comment
Add `.resourceName` docs
Bump version to 0.6.0
Allow Angular v1.3.x

Closes #23.
Bump version to 0.6.1
merged with upstream and resource_name custom