Posts

Showing posts from September, 2016

AngularJS - Experiencing new era

Image
AngularJS is an open source web application framework. It was originally developed in 2009 by Misko Hevery and Adam Abrons. It is now maintained by Google.  Features AngularJS is a powerful JavaScript based development framework to create RICH Internet Application(RIA). AngularJS provides developers options to write client side application (using JavaScript) in a clean MVC(Model View Controller) way. Application written in AngularJS is cross-browser compliant. AngularJS automatically handles JavaScript code suitable for each browser. AngularJS is open source, completely free, and used by thousands of developers around the world. It is licensed under the Apache License version 2.0. Core Features Following are most important core features of AngularJS − Data-binding  − It is the automatic synchronisation of data between model and view components. Scope  − These are objects that refer to the model. They act as a glue between controller and view. ...

Anonymous Functions

You can create anonymous functions, which are functions created using the function() { ... } syntax. They are not given names, but they can be assigned to variables. Here is an Example of an anonymous function: 6 CHAPTER 1 ¡ EXPRESSIVE JAVASCRIPT /* An anonymous function, executed immediately. */ (function() { var foo = 10; var bar = 2; alert(foo * bar); })();

Double negation

Double negation casts a string or a number to a boolean: var bool = !!num;