Skip to content

angular-app/Samples

Repository files navigation

Book Samples

Sample code - chapter by chapter

Each chapter has its own folder, which will correspond to the zip file name for that chapter on submission. Within each chapter folder is a folder for each sample. The folder should contain enough to run the sample independent of the other samples, including tests. There is an index (i.e. 01, 02, etc.) in front of each sample so that you can see the order in which they appear in the chapter. Where the sample has a corresponding Plunk, the Plunk ID is added in brackets after the name of the sample in the folder name.

Library files

There is a common folder for libraries called lib.

Testing

There is a basic grunt file that can run all the unit tests.

You need to install the grunt command line globally:

npm -g install grunt-cli

and grunt itself locally (using the values in the package.json):

npm install grunt

Run the test task on grunt to execute all the samples' tests.

grunt.cmd test

About

Sample code - chapter by chapter

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •