AngularJS is a framework to build the large scale and high performance web application while keeping them as easy-to-maintain These are the features of AngularJS framework AngularJS is a powerful Script based on JavaScript development framework to Implement RICH Internet Application (RIA) AngularJS is a developers options to write client side application (using JavaScript) in a clean MVC (Model View Controller) side Application are written in AngularJS is also cross-browser compliant AngularJS automatically handles JavaScript code suitable for any browser AngularJS is an open source, completely free, and used by large number of developers around the world It is licensed under the Apache License version 20
Correct Answer: Buffer class could be a global class and may be accessed in application without importing buffer module A Buffercould be a quite an array of integers and corresponds to a raw memory allocation outside the V8 heap A Buffer can not be resized
Correct Answer: Read - Reads users input, parse the input into JavaScript data-structure and stores in memory Eval - Evaluates the data structure Print - Prints the result Loop - Loops the above command until user press ctrl-c twice
Correct Answer: Aynchronous and Event Driven - All APIs of Nodejs library area unit aynchronous that's non-blocking It basically means that a Nodejs based mostly server not waits for a API to return information Server moves to next API when calling it and a notification mechanism of Events of Nodejs helps server to induce response from the previous API decision Very Fast - Nodejs library is very fast in execution of code Single Threaded but highly Scalable - Nodejs uses a single threaded model with event looping Nodejs uses a single threaded program and same program can services much larger number of requests than traditional server like open source No Buffering - Nodejs applications never buffer any data These applications simply output the data in faster
Correct Answer: Templates are the rendered view with information from the controller and model These can be a single file like indexhtml or multiple views in one page using "partials"
Correct Answer: When the page is loaded in the browser, following action takes place: HTML document is loaded into the browser, and evaluated by the browser AngularJS JavaScript file is loaded; the angular global object is created Next, JavaScript which registers controller functions is executed AngularJS scans through the HTML to look for AngularJS applications and views Once view is located, it then connects that view to the corresponding controller function Then, AngularJS executes the controller functions It then renders the views with data from the model populated by the controller The page is ready
Correct Answer: These are the advantages of AngularJS: AngularJS provides capability to form Single Page Application in a very clean and maintainable method AngularJS provides data binding capability to HTML therefore giving user a rich and responsive experience AngularJS code is unit testable AngularJS uses dependency injection and build use of separation of concerns AngularJS provides reusable components AngularJS helps developer to writes less code and gets more functionality AngularJS, views are pure HTML pages, and controllers written in JavaScript do the business process AngularJS applications will run on all major browsers and good phones together with android and iOS based mostly phones/tablets