lib/assets/javascripts/directives/mdupdate.coffee in material_raingular-0.0.3.2 vs lib/assets/javascripts/directives/mdupdate.coffee in material_raingular-0.0.3.3
- old
+ new
@@ -1,8 +1,8 @@
class ElementUpdate
constructor: (scope,element,attributes,controllers,RailsUpdater,timeout,parse) ->
[@ngModelCtrl,@ngCallbackCtrl,@ngTrackByCtrl] = controllers
- @updater = RailsUpdater.new(scope,controllers,attributes.ngModel,attributes.ngOverride)
+ @updater = RailsUpdater.new(scope,controllers,attributes.ngModel,attributes.ngOverride,attributes.ngFactory)
@type = attributes.type
@tagName = element[0].tagName
@modelName = attributes.ngModel
@modelVal = parse(attributes.ngModel)
@isInput = @tagName == 'INPUT'