Skip to content

Commit be03fd1

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 angular#13608
1 parent 2e32eea commit be03fd1

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
@@ -29,7 +29,7 @@ $interpolateMinErr.interr = function(text, err) {
2929
* </div>
3030
*
3131
* @example
32-
<example module="customInterpolationApp">
32+
<example name="custom-interpolation-markup" module="customInterpolationApp">
3333
<file name="index.html">
3434
<script>
3535
var customInterpolationApp = angular.module('customInterpolationApp', []);
@@ -44,7 +44,7 @@ $interpolateMinErr.interr = function(text, err) {
4444
this.label = "This binding is brought you by // interpolation symbols.";
4545
});
4646
</script>
47-
<div ng-app="App" ng-controller="DemoController as demo">
47+
<div ng-controller="DemoController as demo">
4848
//demo.label//
4949
</div>
5050
</file>

0 commit comments

Comments
 (0)