Last active
December 2, 2019 02:36
-
-
Save faelplg/7bed3e27717ea822a931dc7be7846edf to your computer and use it in GitHub Desktop.
Complete index.js for templating purposes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @file index.js | |
* @desc Main index of the application. | |
*/ | |
/** HACK: Use this to force hot reload of the index.html file in some environments. */ | |
/** NOTE: Only for development environments. */ | |
// import './index.html'; | |
/** AngularJS main packages */ | |
// import angular from 'angular'; | |
// import 'angular-animate'; | |
// import 'angular-aria'; | |
// import 'angular-messages'; | |
// import 'angular-resource'; | |
// import 'angular-sanitize'; | |
/** AngularJS useful plugins */ | |
// import 'angular-moment'; | |
// import 'angular-loading-bar/src/loading-bar'; | |
// import 'angular-loading-bar/src/loading-bar.css'; | |
/** AngularJS constants */ | |
// import {constants} from './constants'; | |
/** AngularJS routing */ | |
// import '@uirouter/core'; | |
// import '@uirouter/angularjs'; | |
/** Project filters */ | |
// import {filters} from './filters'; | |
/** Project third part libraries */ | |
// import 'moment'; | |
/** Project style */ | |
// import './base.scss'; | |
/** States */ | |
// import {states} from './states/index'; | |
// import './states/index'; | |
/** State components */ | |
// import Button from './components/button/button.component'; | |
// const buttonComponent = new Button('.button'); | |
// buttonComponent.status(); | |
/** Assets */ | |
// import Package from '../package.json'; | |
// console.log('Package', Package); | |
// console.log('Package entries', Object.entries(Package)); | |
// export const app = 'app'; | |
/** AngularJS module */ | |
// angular | |
// .module('app', [ | |
// 'ngAria', | |
// 'ngSanitize', | |
// 'ngMessages', | |
// 'ngAnimate', | |
// 'ngResource', | |
// 'angular-loading-bar', | |
// 'ui.router', | |
// constants, | |
// filters, | |
// states | |
// ]); | |
console.log('%cComplete index.js template.', 'color: #21eb29; background: #222; padding: 8px;'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment