Skip to content

properties on component not accessible inside component #19

@vanhumbeecka

Description

@vanhumbeecka

Suppose

@Component({
    selector: 'time-table',
    controllerAs: 'TimeTableCtrl',
    properties: [
        '@minHour',
        '@maxHour',
        '=myEvents'
    ]
})
@View({template: require('./timetable.html')})
@Inject('$log')
export class TimeTableComponent {

How can I access the myEvents in the TimeTableComponent? I cannot seem to reference them inside the component itself. Using '{{TimeTableCtrl.myEvents}}' in HTML works!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions