File: src/packages/common/providers/lagoProvider.js

Recommend this page to a friend!
  Classes of Alien Fernandez   Seed Sails Angular   src/packages/common/providers/lagoProvider.js   Download  
File: src/packages/common/providers/lagoProvider.js
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Seed Sails Angular
Full stack framework based on Sails, Node, Angular
Author: By
Last change: Update of src/packages/common/providers/lagoProvider.js
Date: 2 years ago
Size: 407 bytes


Class file image Download
import angular from 'angular'; import commonModule from '../commonModule'; let _parent = ''; class lagoProvider { constructor() { } parent(newParent) { return arguments.length ? (_parent = newParent) : _parent + '.'; } $get() { return { parent: _parent + '.' }; } } commonModule.provider('lago', lagoProvider); export default commonModule;