diff options
| author | Caitlin Potter | 2014-02-06 14:02:18 +0000 |
|---|---|---|
| committer | Peter Bacon Darwin | 2014-02-16 19:03:40 +0000 |
| commit | f7d28cd377f06224247b950680517a187a7b6749 (patch) | |
| tree | 20203b9f7bf60748bb752f325b1869415352a6f3 /src/loader.js | |
| parent | 2e641ac49f121a6e2cc70bd3879930b44a8a7710 (diff) | |
| download | angular.js-f7d28cd377f06224247b950680517a187a7b6749.tar.bz2 | |
docs(all): convert <pre>/</pre> snippets to GFM snippets
Diffstat (limited to 'src/loader.js')
| -rw-r--r-- | src/loader.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/loader.js b/src/loader.js index 7184cb47..cdb092f5 100644 --- a/src/loader.js +++ b/src/loader.js @@ -47,7 +47,7 @@ function setupModuleLoader(window) { * A module is a collection of services, directives, filters, and configuration information. * `angular.module` is used to configure the {@link auto.$injector $injector}. * - * <pre> + * ```js * // Create a new module * var myModule = angular.module('myModule', []); * @@ -59,13 +59,13 @@ function setupModuleLoader(window) { * // Configure existing providers * $locationProvider.hashPrefix('!'); * }); - * </pre> + * ``` * * Then you can create an injector and load your modules like this: * - * <pre> + * ```js * var injector = angular.injector(['ng', 'MyModule']) - * </pre> + * ``` * * However it's more likely that you'll just use * {@link ng.directive:ngApp ngApp} or @@ -205,7 +205,7 @@ function setupModuleLoader(window) { * Defines an animation hook that can be later used with * {@link ngAnimate.$animate $animate} service and directives that use this service. * - * <pre> + * ```js * module.animation('.animation-name', function($inject1, $inject2) { * return { * eventName : function(element, done) { @@ -217,7 +217,7 @@ function setupModuleLoader(window) { * } * } * }) - * </pre> + * ``` * * See {@link ngAnimate.$animateProvider#register $animateProvider.register()} and * {@link ngAnimate ngAnimate module} for more information. |
