UNPKG
@phoenix-plugin-registry/angular-file-templates
Version:
latest (0.2.7)
0.2.7
Create common angular files from templates
github.com/natete/angular-file-templates
@phoenix-plugin-registry/angular-file-templates
/
config
/
with-require
/
_constant.js
18 lines
(14 loc)
•
326 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/** *
@param
{
type
} <%= moduleName %> module *
@author
<%- author %> *
@since
<%= date %> */
(
function
(
) {
define
([
'./<%= moduleName %>.module'
],
function
(
moduleName
) {
'use strict'
; angular.
module
(moduleName) .
constant
(
// Add your constants here
); }); })();