Made angular-specific object registration

Splitted functionality into factory function and angular-specific registration.
Added angular-cjs.
Bump v1.0.4