Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add section about "ng*=" attributes in Templates lesson

See original GitHub issue

Basically as an alternative to something like <img src="{{foo}}">, we can introduce the <img ngSrc="foo">.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6

github_iconTop GitHub Comments

tessaSACcommented, May 7, 2017

That makes sense. I’m kinda glad they switched it to this style, feels more consistent 🙂

LOZORDcommented, May 7, 2017

Hmm, I might have been thinking of something from Angular 1 😖

Maybe include something saying that [src]="link" and src="{{link}}" are (somewhat) equivalent?

Otherwise, feel free to close.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found