⚠️ 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.