Getting started with Angular - Learning Angular (Part 2) — Transcript
Full transcript
- 0:02hi friends welcome back in this module
- 0:05we'll go through the setup for getting
- 0:07started with angular but before we do
- 0:09that let's take a moment to discuss
- 0:11pacing we're going to go through a lot
- 0:14of steps during our time together
- 0:16through this course so I would encourage
- 0:18you to pause this video at any time get
- 0:21caught up and then resume the video when
- 0:24you are ready please take all the time
- 0:26that you need
- 0:27all right let's get you set up for
- 0:30development with angular
- 0:32first you'll need to install node.js so
- 0:35you can use the annual CLI and have
- 0:37access to npm the node package manager
- 0:41in the browser navigate to
- 0:44nodejs.org to find it download and
- 0:46installation instructions now be sure to
- 0:49choose a version that's either active or
- 0:51in maintenance long-term support mode
- 0:53your installation should include npm
- 0:57now that noted and PMR installed we're
- 1:00ready to install the angular CLI from
- 1:03the command line run the following
- 1:05command
- 1:06npm install Dash G at angular4 CLI when
- 1:12the installation completes we can
- 1:14confirm that our installation was
- 1:16successful by running the following
- 1:18command from the command line in G space
- 1:21version
- 1:23the output of NG version should contain
- 1:25information about the installed version
- 1:27of angular on your machine such as the
- 1:31angular version the node version the
- 1:33packets manager version and even the OS
- 1:36being used now this tutorial is using
- 1:39angular version 15.
- 1:41so to be helpful we've already created a
- 1:45starter project for you and the next
- 1:47step is to download the code to your
- 1:49local machine Let's choose the location
- 1:51for the code now I'm going to put my
- 1:54code in a directory called projects on
- 1:57my computer but for you you can choose
- 1:59the right location for yourself on your
- 2:02system
- 2:03in a browser navigate to the following
- 2:06URL
- 2:08goo.gle forward slash homes Dash app
- 2:13dash start
- 2:14now we're downloading a zip file of the
- 2:17starter project when the download is
- 2:19complete extract the code to a directory
- 2:22name home stash app and a file location
- 2:25where you'll be storing your code now
- 2:27with the code downloaded and extracted
- 2:30the next steps are to from the command
- 2:32line navigate into the homes Dash app
- 2:35directory and then run npm install
- 2:39the last command will install all of the
- 2:42dependencies needed to run the
- 2:44application
- 2:45we can test out this application right
- 2:48now using a development server hosted
- 2:51right on your computer and provided by
- 2:53angular here's how
- 2:55from the command line run NG serve
- 3:00this command starts a local development
- 3:03server now it gives us a URL that we can
- 3:06use to find our web app running that URL
- 3:10is localhost Port 4200
- 3:15let's open that URL in the browser and
- 3:18find our base application awesome we
- 3:21have a functioning web app that we can
- 3:23edit to make changes so that it can have
- 3:26the features that we want now to edit
- 3:28our code I'll be using vs code now I'm
- 3:33also going to install an extension
- 3:35called the angular language service by
- 3:37the angular team that'll give us some
- 3:39extra tools when writing the code and
- 3:42it'll help us be more productive
- 3:44we've included links to everything in
- 3:46the description for this video to help
- 3:48you get started let's launch vs code and
- 3:51open the directory containing our
- 3:53project the starter code has created a
- 3:56lot of files for us so let's take a
- 3:58moment to explore some of them
- 4:01first up we have angular.json which
- 4:04allows us to configure our project there
- 4:07are settings for things like build
- 4:08configuration
- 4:10internationalization and more
- 4:13there are a few more important
- 4:15configuration files there's package.json
- 4:17for our project dependencies and
- 4:20tsconfig.json for typescript settings
- 4:22now angular components have typescript
- 4:25class for logic now this is where we
- 4:29configure the rules around how
- 4:30typescript is used in a project now
- 4:33that's a little bit beyond the scope of
- 4:35our course but it's good to know that
- 4:37this exists
- 4:38all right here's where all the magic
- 4:40happens the SRC or Source directory
- 4:45our application code lives in this
- 4:47directory and when we update our
- 4:49application to include new functionality
- 4:51this is the directory in which we'll
- 4:53make our changes
- 4:55let's take the first step towards
- 4:57customizing our application
- 4:59we're going to update the existing app
- 5:01to display a new message in the browser
- 5:05app.component.ts contains the HTML
- 5:08template code that determines what's
- 5:10being displayed on screen now we're
- 5:13going to learn all about components and
- 5:15templates soon but for now we'll start
- 5:17by opening this file and making an
- 5:19update the template property has the
- 5:22text hello world now let's update the
- 5:25text and change it to Hello Universe
- 5:28save this file
- 5:30because we have the development server
- 5:32running with NG serve our web page will
- 5:35refresh itself automatically
- 5:37and there we have it the application now
- 5:40displays the text Hello Universe
- 5:45you've just updated your first angular
- 5:47app I have something special for you
- 5:50high five from me to you nice work
- 5:54whoa we've done a lot so far friends up
- 5:57to this point we've been able to install
- 5:59the angular tooling the angular CLI use
- 6:03the built-in development server to
- 6:05automatically load our changes in the
- 6:07browser and even updated our first
- 6:09angular application now that's a lot of
- 6:13great progress and I think that you
- 6:15should be very proud of yourself
- 6:17in the next section we're going to
- 6:19create the home page for the application
- 6:21and bring everything closer to reality
- 6:23so I'll meet you there
- 6:28foreign
- 6:32foreign
About this transcript
This page contains the full transcript of Getting started with Angular - Learning Angular (Part 2) by Angular, generated from the public captions YouTube serves with the video. The transcript has 928 words across 151 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to translate the transcript into 100+ languages.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.