[Containment] Make ngModel optional

Make the ngModel dependency of mct-control optional, to avoid
breaking mct-control usages which don't also use ng-model.
WTD-962.
This commit is contained in:
Victor Woeltjen 2015-04-09 13:10:27 -07:00
parent cc0a46d5cc
commit 952f380c33

View File

@ -46,7 +46,7 @@ define(
priority: 1000,
// Get the ngModelController, so that controls can set validity
require: 'ngModel',
require: '?ngModel',
// Link function
link: link,