Add module existence check for angular-specific DI logic
Wrap state constructor in factory function
Bump v1.0.6