Implement my own angular js based on the book Build your own angularjs by Tero Parviainen. The source code of the book: https://github.com/teropa/build-your-own-angularjs/
$ npm install # only for the first time
$ npm test # start Karma
# $ npm run lint # run jshint separately, without using Karma
jshint
- JS LintJasmine
- Unit testingKarma
- Test runner that integrates well withjshint
,Jasmine
,Browserify
andPhantomJS
Sinon.JS
- Test helper for some of the more sophisticated mock objects e.g., HTTP featuresBrowserify
- Bring the module capabilities to client-side code (similar to CommonJS standard for Node.js). It will pre-process all our files and output a bundle that can be run in a web browser (such as the PhantomJS browser for testing).Lo-Dash
- Array and object manipulation, such as equality checking and cloning.jQuery
- DOM query and manipulation.