mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-19 16:10:22 +00:00
docs(sanitize): add @description section
This commit is contained in:
parent
ef5c874415
commit
76cb53f837
1 changed files with 19 additions and 0 deletions
|
|
@ -4,6 +4,25 @@
|
|||
* @ngdoc overview
|
||||
* @name ngSanitize
|
||||
* @description
|
||||
*
|
||||
* The `ngSanitize` module provides functionality to sanitize HTML.
|
||||
*
|
||||
* # Installation
|
||||
* As a separate module, it must be loaded after Angular core is loaded; otherwise, an 'Uncaught Error:
|
||||
* No module: ngSanitize' runtime error will occur.
|
||||
*
|
||||
* <pre>
|
||||
* <script src="angular.js"></script>
|
||||
* <script src="angular-sanitize.js"></script>
|
||||
* </pre>
|
||||
*
|
||||
* # Usage
|
||||
* To make sure the module is available to your application, declare it as a dependency of you application
|
||||
* module.
|
||||
*
|
||||
* <pre>
|
||||
* angular.module('app', ['ngSanitize']);
|
||||
* </pre>
|
||||
*/
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue