diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/content/cookbook/deeplinking.ngdoc | 2 | ||||
| -rw-r--r-- | docs/src/templates/docs.js | 3 | ||||
| -rw-r--r-- | docs/src/templates/index.html | 1 |
3 files changed, 4 insertions, 2 deletions
diff --git a/docs/content/cookbook/deeplinking.ngdoc b/docs/content/cookbook/deeplinking.ngdoc index 10af8a2d..4343ded2 100644 --- a/docs/content/cookbook/deeplinking.ngdoc +++ b/docs/content/cookbook/deeplinking.ngdoc @@ -39,7 +39,7 @@ The two partials are defined in the following URLs: <doc:example module="deepLinking"> <doc:source jsfiddle="false"> <script> - angular.module('deepLinking', []) + angular.module('deepLinking', ['ngSanitize']) .config(function($routeProvider) { $routeProvider.when("/welcome", {template:'./examples/welcome.html', controller:WelcomeCntl}); $routeProvider.when("/settings", {template:'./examples/settings.html', controller:SettingsCntl}); diff --git a/docs/src/templates/docs.js b/docs/src/templates/docs.js index b82ba660..bd294ba9 100644 --- a/docs/src/templates/docs.js +++ b/docs/src/templates/docs.js @@ -146,7 +146,8 @@ function TutorialInstructionsCtrl($scope, $cookieStore) { }; } -angular.module('ngdocs', ['ngdocs.directives', 'ngResource', 'ngCookies'], function($locationProvider, $filterProvider, $compileProvider) { +angular.module('ngdocs', ['ngdocs.directives', 'ngResource', 'ngCookies', 'ngSanitize'], + function($locationProvider, $filterProvider, $compileProvider) { $locationProvider.html5Mode(true).hashPrefix('!'); $filterProvider.register('title', function(){ diff --git a/docs/src/templates/index.html b/docs/src/templates/index.html index 26e95d62..45e1a63d 100644 --- a/docs/src/templates/index.html +++ b/docs/src/templates/index.html @@ -30,6 +30,7 @@ addTag('script', {src: path('angular.js')}, sync); addTag('script', {src: path('angular-resource.js') }, sync); addTag('script', {src: path('angular-cookies.js') }, sync); + addTag('script', {src: path('angular-sanitize.js') }, sync); addTag('script', {src: 'docs-combined.js'}, sync); addTag('script', {src: 'docs-keywords.js'}, sync); |
