aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/cookbook/deeplinking.ngdoc
diff options
context:
space:
mode:
authorVojta Jina2012-04-10 16:50:31 -0700
committerVojta Jina2012-04-11 15:50:47 -0700
commit5bcd7198664dca2bf85ddf8b3a89f417cd4e4796 (patch)
tree3c9bde1e97e94a4af986019dbaea1eaa50a209d9 /docs/content/cookbook/deeplinking.ngdoc
parente1743cc837a51e3146f2e73e3083eee7f4a8f549 (diff)
downloadangular.js-5bcd7198664dca2bf85ddf8b3a89f417cd4e4796.tar.bz2
chore(ngSanitize): extract $sanitize, ngBindHtml, linkyFilter into a module
Create build for other modules as well (ngResource, ngCookies): - wrap into a function - add license - add version Breaks `$sanitize` service, `ngBindHtml` directive and `linky` filter were moved to the `ngSanitize` module. Apps that depend on any of these will need to load `angular-sanitize.js` and include `ngSanitize` in their dependency list: `var myApp = angular.module('myApp', ['ngSanitize']);`
Diffstat (limited to 'docs/content/cookbook/deeplinking.ngdoc')
-rw-r--r--docs/content/cookbook/deeplinking.ngdoc2
1 files changed, 1 insertions, 1 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});