⚠️ This lesson is retired and might contain outdated information.

Angular in 60 Seconds

Rodrigo Pombo
InstructorRodrigo Pombo
Share this video with your friends

Social Share Links

Send Tweet
Published 3 years ago
Updated 2 years ago

Learn Angular fast. This is a quick overview of how to use Angular core features compressed into one minute. Remember to pause the video if you need time to understand something!

This lesson uses Angular v12.

To learn more about Angular and the rest of the features we haven't covered, visit the official website.

Rodrigo Pombo: [0:05] Angular uses classes and decorators to define components. Inside the decorator, you'll define a selector and a template. You can use the selector inside any template. If you want to pass data to a child component, you can define an input and render it inside curly braces.

[0:19] To add event handlers, you use this syntax with parentheses and add the handler method to the class. You can add a state as class properties. Inside the curly braces in template, you can put any JavaScript expression and every time the state changes, Angular will re-render the component.

[0:40] You can use Output to send data to the component's parent. You can handle the custom event similar to how you handle clicks. If you want to repeat something based on a list, you can use the entry for directive. You can also declare styles that only affect the elements within the component's template.

egghead
egghead
~ 6 minutes ago

Member comments are a way for members to communicate, interact, and ask questions about a lesson.

The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io

Be on-Topic

Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.

Avoid meta-discussion

  • This was great!
  • This was horrible!
  • I didn't like this because it didn't match my skill level.
  • +1 It will likely be deleted as spam.

Code Problems?

Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context

Details and Context

Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!

Markdown supported.
Become a member to join the discussionEnroll Today