Added check for template in definition
Add module deps for angular registration
Added ability to inject services
Bump v1.0.4