You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/guide/dev_guide.forms.ngdoc
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ In addition it provides {@link api/angular.module.ng.$compileProvider.directive.
31
31
<pre>master = {{master | json}}</pre>
32
32
</div>
33
33
34
-
<script type="text/javascript">
34
+
<script>
35
35
function Controller($scope) {
36
36
$scope.master= {};
37
37
@@ -91,7 +91,7 @@ This ensures that the user is not distracted with an error until after interacti
91
91
}
92
92
</style>
93
93
94
-
<script type="text/javascript">
94
+
<script>
95
95
function Controller($scope) {
96
96
$scope.master= {};
97
97
@@ -152,7 +152,7 @@ This allows us to extend the above example with these features:
152
152
</form>
153
153
</div>
154
154
155
-
<script type="text/javascript">
155
+
<script>
156
156
function Controller($scope) {
157
157
$scope.master= {};
158
158
@@ -227,7 +227,7 @@ In the following example we create two directives.
227
227
</form>
228
228
</div>
229
229
230
-
<script type="text/javascript">
230
+
<script>
231
231
var app = angular.module('form-example1', []);
232
232
233
233
var INTEGER_REGEXP = /^\-?\d*$/;
@@ -281,13 +281,13 @@ In order for custom control to work with `ngModel` and to achieve two-way data-b
281
281
- implement `render` method, which is responsible for rendering the data after it passed the {@link api/angular.module.ng.$compileProvider.directive.ngModel.NgModelController#$formatters NgModelController#$formatters},
282
282
- call `$setViewValue` method, whenever the user interacts with the control and model needs to be updated. This is usually done inside a DOM Event listener.
283
283
284
-
See {@link api/angular.module.ng.$compileProvider.directive $compileProvider.directive} for more info.
284
+
See {@link guide/directive $compileProvider.directive} for more info.
285
285
286
286
The following example shows how to add two-way data-binding to contentEditable elements.
0 commit comments