2015-02-17 08:38:54 -08:00
|
|
|
library bar;
|
|
|
|
|
|
|
|
import 'package:angular2/src/core/annotations/annotations.dart';
|
2015-02-19 10:20:38 -08:00
|
|
|
import 'foo.dart' as prefix;
|
2015-02-17 08:38:54 -08:00
|
|
|
|
2015-02-19 10:20:38 -08:00
|
|
|
@Component(selector: prefix.preDefinedSelector)
|
|
|
|
class MyComponent {
|
|
|
|
final prefix.MyContext c;
|
2015-02-17 08:38:54 -08:00
|
|
|
final String generatedValue;
|
2015-02-19 10:20:38 -08:00
|
|
|
MyComponent(this.c, String inValue) {
|
2015-02-17 08:38:54 -08:00
|
|
|
generatedValue = 'generated ' + inValue;
|
|
|
|
}
|
|
|
|
}
|