app.get(name): This is used to get environment variables that Express is using in its configuration.
app.engine(ext, callback): This is used to define a given template engine to render certain file types, for example, you can tell the EJS template engine to use HTML files as templates like this:
app.locals: This is used to send application-level variables to all rendered templates.
application object - app.xxx
Share this highlighthttp://www.safaribooksonline.com/a/mean-web-development/32316/