51 items
Declaring a component in NgModule
Code QuizStructural directive prefix
Code QuizEvent binding syntax
Code QuizServices and Dependency Injection
QuizInterpolation Data Binding
QuizRole of NgModule
QuizSingle Page Application
QuizBootstrapping the Root Component
QuizApplication Structure Files
QuizPurpose of the Angular CLI
QuizDirectives Overview
QuizTemplates and Views
QuizAngular's Primary Language
QuizAngular vs AngularJS
QuizThe Component Building Block
QuizWhat Angular Is
QuizComponent-Based Architecture
QuizThe Component Decorator
QuizInterpolation syntax
Code QuizInline template vs templateUrl
Code QuizBootstrapping the root component
Code QuizTwo-way binding banana-in-a-box
Code QuizGenerating a component with the CLI
Code QuizImporting the Component decorator
Code QuizThe @Component decorator syntax
Code QuizBinding a class property in the template
Code QuizDecorators attach metadata
Code QuizUsing a component's selector
Code QuizProperty binding brackets
Code QuizIterating with *ngFor
Code QuizBootstrapping modern Angular
Code QuizComponent Lifecycle Basics
FlashcardComponents as Building Blocks
FlashcardComponent Tree Architecture
FlashcardDecorators and Metadata
FlashcardTemplates and Rendering
FlashcardAngular Project Structure
FlashcardTypeScript in Angular
FlashcardServices Purpose
FlashcardAngular CLI Purpose
FlashcardDirectives Concept
FlashcardData Binding Overview
FlashcardDependency Injection Basics
FlashcardNgModule Purpose
FlashcardFramework vs Library
FlashcardSingle Page Application
FlashcardAngular vs AngularJS
FlashcardWhat Angular Is
FlashcardBenefits of Angular
FlashcardRouting for Navigation
FlashcardRoot Component and Bootstrapping
FlashcardProperty binding brackets
An image src is set as a literal string instead of being bound.
@Component({
selector: 'app-avatar',
template: '<img src="imageUrl" />'
})
export class AvatarComponent {
imageUrl = 'https://example.com/a.png';
}Why does the image fail to load the component's imageUrl value?