We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
js.UndefOr[T]
var
<div ng-controller="FooCtrl as ctrl"> <input type="text" ng-model="ctrl.foo"> </div>
FooCtrl extends Controller { var foo: UndefOr[String] = "" }
Otherwise, an exception might be thrown when the input field is cleared.