Add section about "ng*=" attributes in Templates lesson
See original GitHub issueBasically as an alternative to something like <img src="{{foo}}">
, we can introduce the <img ngSrc="foo">
.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6
Top Results From Across the Web
Everything you need to know about ng-template, ng-content ...
The select attribute selects the type of content that will be rendered inside a particular <ng-content> . Here we have first select to...
Read more >Structural directives - Angular
This guide is about structural directives and provides conceptual information on how such directives work, how Angular interprets their shorthand syntax, ...
Read more >Angular ng-template, ng-container and ngTemplateOutlet
This is a Complete Guide To Angular Templates: it covers ng-template, ng-container, the ngTemplateOutlet structural directive, and more.
Read more >Angular Directive Tutorial With Example | Custom Directives
Attribute directive alter the appearance or behavior of an existing element. When you include attribute directives in templates, they look like ...
Read more >Developer Guide: Directives - AngularJS: API
Best Practice: Unless your template is very small, it's typically better to break it apart into its own HTML file and load it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That makes sense. I’m kinda glad they switched it to this style, feels more consistent 🙂
Hmm, I might have been thinking of something from Angular 1 😖
Maybe include something saying that
[src]="link"
andsrc="{{link}}"
are (somewhat) equivalent?Otherwise, feel free to close.