Skip to content

Latest commit

 

History

History

src

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

The src Directory

Overview

The src/ directory contains all code used in the application along with all tests of such code.

src/
  |- app/
  |  |- about/
  |  |- home/
  |  |- app.js
  |  |- app.spec.js
  |- assets/
  |- common/
  |  |- hexBoard/
  |- less/
  |  |- main.less
  |  |- variables.less
  |- index.html
  • src/app/ - application-specific code, i.e. code not likely to be reused in another application. Read more »
  • src/assets/ - static files like fonts and images. Read more »
  • src/common/ - third-party libraries or components likely to be reused in another application. Read more »
  • src/less/ - LESS CSS files. Read more »
  • src/index.html - this is the HTML document of the single-page application. See below.

See each directory for a detailed explanation.

index.html

The index.html file is the HTML document of the single-page application (SPA) that should contain all markup that applies to everything in the app, such as the header and footer. It declares with ngApp that this is hexWidget, specifies the main AppCtrl controller, and contains the ngView directive into which route templates are placed.