From 7a04968673228e3d0afa957a271add6934a6cafc Mon Sep 17 00:00:00 2001 From: Jeff Wesson Date: Mon, 13 Apr 2015 17:43:58 -0700 Subject: [PATCH] docs(form): replace obsolete tt element Removes the [**obsolete** HTML Teletype Text Element ``](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tt) and replaces it with [``](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/code). This adds more semanticity and is part of the [HTML5 specification](http://www.w3.org/TR/html5/text-level-semantics.html#the-code-element). Closes #11570 --- src/ng/directive/form.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ng/directive/form.js b/src/ng/directive/form.js index 12b844a5f712..9c7f52564c91 100644 --- a/src/ng/directive/form.js +++ b/src/ng/directive/form.js @@ -415,11 +415,11 @@ function FormController(element, attrs, $scope, $animate, $interpolate) {
userType: Required!
- userType = {{userType}}
- myForm.input.$valid = {{myForm.input.$valid}}
- myForm.input.$error = {{myForm.input.$error}}
- myForm.$valid = {{myForm.$valid}}
- myForm.$error.required = {{!!myForm.$error.required}}
+ userType = {{userType}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}