mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-04-11 02:21:00 +00:00
docs(sanitize): add @description section
This commit is contained in:
parent
631c4863d8
commit
681c1c53e4
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