List of Listings
Chapter 3. Creating and setting up a MEAN project
Listing 3.1. Example package.json file in a new Express project
Listing 3.2. Taking the controller code out of the route: step 1
Listing 3.3. Setting up the homepage controller in app_server/controllers/main.js
Listing 3.4. Updating the routes file to use external controllers
Listing 3.5. The complete index.jade file
Listing 3.6. Default layout.jade file
Listing 3.7. Updated layout.jade including Bootstrap references
Chapter 4. Building a static site with Node and Express
Listing 4.1. Requiring the controller files in routes/index.js
Listing 4.2. Defining the routes and mapping them to controllers
Get Getting MEAN with Mongo, Express, Angular, and Node now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.