How to register custom service for injection

By browsing the source code of didi/lib/injector.js, I tried and managed successfully with:

{ __init__: "myCustomService", myCustomService: ["value", _myCustomServiceInstanceFromAngular] }

I can now call my angular service from the custom properties provider.

2 Likes