Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "The http-server module is just one of the many options available out there."

A block of code is set as follows:

<div class="container" ng-controller="GuessTheNumberController">
   <!--Truncated Code-->
   <p class="text-info">No of guesses : 
       <span class = "badge"> {{noOfTries}}</span>
   <p>
</div>

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold as shown:

// outputs the value of property
{{property}}

//outputs the result of boolean comparison. Ternary operator
{{property1 >=0?'positive': 'negative'}}

//call testMethod and outputs the return value
{{testMethod()}}

Any command-line input or output is written as follows:

npm install http-server –g

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Once the collections are added, add yourself as a user to the database from the User tab."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.103.5