How to use angular.dart 1.0? (dependency doesn't work)

I am currently studying dart (and angular.dart), reading some tutorials, etc.

I'm having trouble getting angular.dart 1.0 to work. According to the description of this package: https://pub.dartlang.org/packages/angular#installing

need to add angular.dart as a PUB dependency and then start working with it:

import 'package:angular/angular.dart';

      

I did exactly that, ran it pub get

, but the imported file was still not found. My packages directory is somewhat poor, there is no angular.dart there.

So how do I use angular.dart 1.0?

Angular dart error

+3


source to share


1 answer


Your loaded angular seems to be broken. You should try to rebuild the cache with pub cache repair

(see pub cache )



+3


source







All Articles