Skip to content

jonpecson/angular-quizcat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AngularJS Quiz Catalog

Overview

This application gives a simple interface for a list of quizes. Quizes are a list of text based questions and answers. It is built using Yeoman, patterned after the angular-phonecat with the help from Quiz-on-AngularJS. I have incorporated much of their explanatory documentation and comments as this is the first Angular application published by TheWebShop.

Prerequisites

Git

  • A good place to learn about setting up git is here
  • Git home (download, documentation)

Yeoman

Bower

Workings of the application

  • The application filesystem layout structure is based on the Yeoman angular seed.
  • There is no backend (no server) for this application. Instead we fake the XHRs by fetching static json files.

Application Directory Layout

app/                      --> all of the files to be used in production
  styles/                 --> css and scss files
    main.scss             --> default sass stylesheet
    main.css              --> compiled output of default sass stylesheet
  index.html              --> app layout file (the main html template file of the app)
  scripts/                --> javascript files
    app.js                --> application
    services.js           --> custom angular services
    controllers/          --> application controllers
      quizListCtr.js      --> quiz list controller
      quizCtr.js          --> quiz controller
      resultCtrl.js       --> results controller        
  views/                  --> angular view partials (partial html templates)
    quiz.html             --> quiz view
    quiz-list.html        --> quiz list view
    quiz-result           --> quiz result view
components/               --> bower installed components
  angular/
      angular.js          --> the latest angular js
  angular-resource/
      angular-resource.js --> for dealing with RESTful server-side data sources
  moment/
    moment.js             --> makes dealing with dates a breeze

Contact

For more information on AngularJS please check out http://angularjs.org/

Releases

No releases published

Packages

No packages published