Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 679 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 679 Bytes

JavaScript-Promises

jQuery, q library, AngularJS, Node.js promise examples

jQuery Promise Examples

  • Copy the folder in web server and run the examples

'q' library Examples

  • Copy the folder in web server and run the examples

AngularJs Promise Examples

  • Using yeoman generator for Angular (https://github.com/yeoman/generator-angular)
  • Run 'npm install'
  • Run 'grunt build' to create the dist folder
  • Run 'grunt serve' for preview
  • 'data' folder is added in 'app' folder
  • 'scripts' and 'views' folder in 'app' folder contains example files (controller, view)

Node.js

  • Run 'npm install' in command prompt to install the required node modules