Javascript 51
AngularJS Installation Using NPM
AngularJS can be installed using Node Package Manager-NPM. In this demo, “We will learn to install AngularJS library using Node Package Manager”. To install AngularJS library use the command npm install angular in a terminal. To demonstrate installation we have created a directory AngularMaterialDemo to configure AngularJS. The following screenshot shows the terminal with npm […]
Installing AngularJS using Bower
AngularJS can be installed using Bower Package Manager. In this demo, “We will learn to install AngularJS using Bower tool”. To install AngularJS using Bower execute the following command in the terminal Bower install angular. To demonstrate we have created an empty directory AngularMaterialDemo.The following screenshot shows the terminal with Bower Command in execution for […]
Working With Web Worker Part6
In my previous post we have learn about error handling in web worker. In this demo, “We will learn about creating Shared Web Worker to calculate length of a string”. A Shared Worker can be used by multiple calling script. A shared worker can be created using new keyword and SharedWorker() constructor function. A Shared […]
Working With Web Worker Part5
In my previous post we have learnt about importing external script to a web worker. In this demo “We will learn to use error handling in Web Worker”. We can throw an error from a web worker using throw keyword. In the calling script we can catch the error by listening to the error event […]