27.03.2017 Views

ng-book

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Introduction 4<br />

Additional Resources<br />

We’ll refer to the official documentation on the A<strong>ng</strong>ularJS⁷ website. The official A<strong>ng</strong>ularJS documentation<br />

is a great resource, and we’ll be usi<strong>ng</strong> it quite often.<br />

We suggest that you take a look at the A<strong>ng</strong>ularJS API documentation, as it gives you direct access to<br />

the recommended methods of writi<strong>ng</strong> A<strong>ng</strong>ularJS applications. Of course, it also gives you the most<br />

up-to-date documentation available.<br />

Conventions Used in This Book<br />

Throughout this <strong>book</strong>, you will see the followi<strong>ng</strong> typographical conventions that indicate different<br />

types of information:<br />

In-line code references will look like: Hello.<br />

A block of code looks like so:<br />

var App = a<strong>ng</strong>ular.module('App', []);<br />

function FirstController($scope) {<br />

$scope.data = "Hello";<br />

}<br />

Any command at the command line will look like:<br />

$ ls -la<br />

Any command in the developer console in Chrome (the browser with which we will primarily be<br />

developi<strong>ng</strong>) will look like:<br />

> var obj = {message: "hello"};<br />

Important words will be shown in bold.<br />

Tips and tricks will be shown as:<br />

Tip<br />

⁷http://a<strong>ng</strong>ularjs.org<br />

Tip: This is a tip message

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!