yoctore/yoctopus-generator

View on GitHub
app/templates/applications/angular/_constant.js

Summary

Maintainability
A
0 mins
Test Coverage
'use strict';

/**
 * Add lodash on app
 */
angular.module('<%= name %>').constant('_', window._);

/**
 * Add momentjs on app
 */
angular.module('<%= name %>').constant('moment', moment);

/**
 * Add async on app
 */
angular.module('<%= name %>').constant('async', async);

/*
 * Add CryptJs on app
 */
angular.module('<%= name %>').constant('CryptoJS', CryptoJS);