Sha256: 531fb4acdf992e2e665fceeb48c6adc96969802a77b9da696d51c19911f5e2c0

Contents?: true

Size: 173 Bytes

Versions: 29

Compression:

Stored size: 173 Bytes

Contents

class @AngularInjectableModel
  $inject: (args...) ->
    @$injector ||= angular.element(document.body).injector()
    for item in args
      @[item] = @$injector.get(item)

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
material_raingular-0.6.0.2 lib/assets/javascripts/super_classes/angular_injectable_model.coffee
material_raingular-0.6.0.1 lib/assets/javascripts/super_classes/angular_injectable_model.coffee
material_raingular-0.6.0 lib/assets/javascripts/super_classes/angular_injectable_model.coffee
material_raingular-0.5.9 lib/assets/javascripts/super_classes/angular_injectable_model.coffee
material_raingular-0.5.8 lib/assets/javascripts/super_classes/angular_injectable_model.coffee
material_raingular-0.5.5 lib/assets/javascripts/super_classes/angular_injectable_model.coffee
material_raingular-0.5.2 lib/assets/javascripts/super_classes/angular_injectable_model.coffee
material_raingular-0.5.1 lib/assets/javascripts/super_classes/angular_injectable_model.coffee
material_raingular-0.5 lib/assets/javascripts/super_classes/angular_injectable_model.coffee