Home Reference Source Repository

Function

Static Public Summary
public

Responsible for binding of dependencies to functions

since 0.0.1

Static Public

public $injectionBinder(fn: function, type: string): function since 0.0.1 source

import {$injectionBinder} from 'angie-injector/src/services/injector.js'

Responsible for binding of dependencies to functions

Params:

NameTypeAttributeDescription
fn function

The function to which values are being provided

type string

An optional Angie module type

Return:

function

Bound function