Skip to content

Commit

Permalink
docs(ngMessageFormat): module name is actually ngMessageFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
petebacondarwin committed Mar 25, 2015
1 parent b2b3360 commit f353db9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/ngMessageFormat/messageFormatService.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/* global stringify: false */

/**
* @ngdoc module
* @ngdoc service
* @name $$messageFormat
*
* @description
Expand Down Expand Up @@ -57,7 +57,12 @@ var $$interpolateDecorator = ['$$messageFormat', '$delegate', function $$interpo
return interpolate;
}];

// define ngMessageFormat module and register $$MessageFormat service

/**
* @ngdoc module
* @name ngMessageFormat
* @description
*/
var module = angular['module']('ngMessageFormat', ['ng']);
module['provider']('$$messageFormat', $$MessageFormatProvider);
module['config'](['$provide', function($provide) {
Expand Down

0 comments on commit f353db9

Please sign in to comment.