Skip to content

Commit 799e1ac

Browse files
author
Niels Dequeker
committed
angular-ui-tree#521 Disable debugger info for the example page
(cherry picked from commit 1a78d3c)
1 parent b74fcb4 commit 799e1ac

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

examples/js/app.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
angular.module('demoApp', ['ui.tree', 'ngRoute'])
55

6-
.config(['$routeProvider', function ($routeProvider) {
6+
.config(['$routeProvider', '$compileProvider', function ($routeProvider, $compileProvider) {
77
$routeProvider
88
.when('/basic-example', {
99
controller: 'BasicExampleCtrl',
@@ -28,5 +28,8 @@
2828
.otherwise({
2929
redirectTo: '/basic-example'
3030
});
31+
32+
// testing issue #521
33+
$compileProvider.debugInfoEnabled(false);
3134
}]);
3235
})();

0 commit comments

Comments
 (0)