Skip to content

Instantly share code, notes, and snippets.

@faelplg
Last active December 2, 2019 02:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save faelplg/7bed3e27717ea822a931dc7be7846edf to your computer and use it in GitHub Desktop.
Save faelplg/7bed3e27717ea822a931dc7be7846edf to your computer and use it in GitHub Desktop.
Complete index.js for templating purposes
/**
* @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