shInjector
A simple dependency injection class for JavaScript apps. Supports both named parameters and Angular strict injection model (using arrays). The module has no dependencies, and can be intergrated with any JavaScript application. There will also be a NodeJS version of the injector to be released soon.
Usage
Just include the file shinject.min.js
in your html files.
Then use it in your code:
var injector = ; injector; injector; injector; //then to get an instance just use //injector.get('__NAME__OF__ENTITY__')var servz = injector;servz;
Suhail Abood © 2015