Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 9ac4e5a

Browse files
committed
docs($interpolateProvider): remove superfluous ng-app attribute
The example processor is adding the module attr in the example tag as the ng-app attr on the body. Closes #13608
1 parent fcb6e1e commit 9ac4e5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ng/interpolate.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ $interpolateMinErr.interr = function(text, err) {
2121
* Used for configuring the interpolation markup. Defaults to `{{` and `}}`.
2222
*
2323
* @example
24-
<example module="customInterpolationApp">
24+
<example name="custom-interpolation-markup" module="customInterpolationApp">
2525
<file name="index.html">
2626
<script>
2727
var customInterpolationApp = angular.module('customInterpolationApp', []);
@@ -36,7 +36,7 @@ $interpolateMinErr.interr = function(text, err) {
3636
this.label = "This binding is brought you by // interpolation symbols.";
3737
});
3838
</script>
39-
<div ng-app="App" ng-controller="DemoController as demo">
39+
<div ng-controller="DemoController as demo">
4040
//demo.label//
4141
</div>
4242
</file>

0 commit comments

Comments
 (0)