Skip to content
This repository was archived by the owner on Sep 16, 2022. It is now read-only.
This repository was archived by the owner on Sep 16, 2022. It is now read-only.

3.1.0+ w/ use_analyzer: Can't use external packages. #390

@jodinathan

Description

@jodinathan

Hi,

I imported NgModel:
import 'package:angular2/angular2.dart' show NgModel;

added it to the directives:
@component(directives: const [NgModel])

However, the error still occurs:
ParseErrorLevel.FATAL: Can't bind to 'ngModel' since it isn't a known native property or known directive. Please fix typo or add to directives list.

This does not happen with NgClass and NgIf.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions