Hallo I followed the example from
http://blog.thoughtram.io/angular/2015/03/27/building-a-zippy-component-in-angular-2.html
I have the hello.ts import zippy module problem. After I change the code
at hello.ts
from
import {Zippy} from 'zippy';
to
import {Zippy} from './zippy';
the problem is solved but failed to find zippy.html
below is the hello.ts code
import {Component} from 'angular2/core';
import {bootstrap} from 'angular2/platform/browser';
import {Zippy} from './zippy';
@Component({
selector: 'hello-app',
template: `<zippy></zippy>`,
directives:[Zippy]
})
export class HelloApp {
name: string = 'World';
}
bootstrap(HelloApp);
anyhints will be more than welcome!
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.