51 items
Structural directive prefix
Code QuizEvent binding syntax
Code QuizDeclaring a component in NgModule
Code QuizAngular's Primary Language
QuizBootstrapping the Root Component
QuizSingle Page Application
QuizTemplates and Views
QuizComponent-Based Architecture
QuizAngular vs AngularJS
QuizPurpose of the Angular CLI
QuizInterpolation Data Binding
QuizDirectives Overview
QuizThe Component Decorator
QuizRole of NgModule
QuizApplication Structure Files
QuizWhat Angular Is
QuizThe Component Building Block
QuizServices and Dependency Injection
QuizInline template vs templateUrl
Code QuizBinding a class property in the template
Code QuizThe @Component decorator syntax
Code QuizDecorators attach metadata
Code QuizBootstrapping the root component
Code QuizUsing a component's selector
Code QuizGenerating a component with the CLI
Code QuizIterating with *ngFor
Code QuizImporting the Component decorator
Code QuizTwo-way binding banana-in-a-box
Code QuizBootstrapping modern Angular
Code QuizInterpolation syntax
Code QuizProperty binding brackets
Code QuizAngular Project Structure
FlashcardDecorators and Metadata
FlashcardComponent Tree Architecture
FlashcardData Binding Overview
FlashcardTemplates and Rendering
FlashcardTypeScript in Angular
FlashcardSingle Page Application
FlashcardDependency Injection Basics
FlashcardRouting for Navigation
FlashcardAngular vs AngularJS
FlashcardDirectives Concept
FlashcardBenefits of Angular
FlashcardComponent Lifecycle Basics
FlashcardNgModule Purpose
FlashcardFramework vs Library
FlashcardRoot Component and Bootstrapping
FlashcardServices Purpose
FlashcardWhat Angular Is
FlashcardAngular CLI Purpose
FlashcardComponents as Building Blocks
FlashcardTwo-way binding banana-in-a-box
The ngModel binding brackets are in the wrong order.
@Component({
selector: 'app-form',
template: '<input ([ngModel])="name" />'
})
export class FormComponent {
name = '';
}What is wrong with this two-way binding?