Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Make props accessible without bindings, inspired by React #13698

@dmitriz

Description

@dmitriz

Having seen how easy it is to access Props in React, I can't help to request the same awesome feature in Angular:

<awesome-comp name="'Trump'"></awesome-comp>

I would dream to avoid the clunky binding declarations and have the same level of simplicity:

.component('awesomeComp', {
    template: '<div>You are awesome, Mr. {{$comp.$props.name}}</div>',
})

Opinions?

Make Angular great again.

— Trump on Angular (@realDonaldNG) October 18, 2015
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions