Skip to Content
Learning AngularJS
book

Learning AngularJS

by Ken Williamson
March 2015
Beginner to intermediate
212 pages
4h 31m
English
O'Reilly Media, Inc.
Content preview from Learning AngularJS

Chapter 2. The IDE and AngularJS Projects

Many JavaScript editors are used by AngularJS developers. Using an integrated development environment (IDE) with a good JavaScript editor is a huge time-saver and speeds up the development process considerably. IDEs with good JavaScript tools usually have good HTML5 and CSS3 tools as well, which helps to increase a developer’s productivity substantially. We will harness the power of an IDE in this book.

The IDE

We will be using NetBeans as our integrated development environment. You can, however, use any IDE or editor that you prefer. Most of this chapter will be generic and will work fine with any modern IDE. To get started, do the following:

  1. Download and install the latest version of NetBeans from the NetBeans website (or download another IDE of your choice).
  2. Download the latest versions of the following AngularJS files:

    1. angular.min.js (main libs)
    2. angular-route.min.js (routing libs)
    3. angular-cookies.min.js (cookie libs)
    4. angular-resource.min.js (REST service libs)
  3. Download the latest version of jQuery.
  4. Download the latest version of Twitter Bootstrap.

Start NetBeans and create a new HTML5 project, as shown in Figure 2-1. Name the project AngularJsHelloWorld_chapter2.

Alt Text
Figure 2-1. Creating your new HTML5 project

Now do the following:

  1. Create the directory structure shown in Figure 2-2 under Site Root.
  2. Copy the AngularJS, jQuery, and ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Learning AngularJS

Learning AngularJS

Brad Dayley
Learning AngularJS

Learning AngularJS

Marc Wandschneider
AngularJS in Action

AngularJS in Action

Lukas Ruebbelke
AngularJS

AngularJS

Shyam Seshadri, Brad Green

Publisher Resources

ISBN: 9781491916742Errata Page