Hey Vern,
Your first issue it is related to your IDE, so I'm going to guess. Does the
error dissapear if you do this?
export class Multiselect // export = make it visible outside this
module
{
mytext: string;
constructor() {
console.log( this.mytext );
}
Related to your second issue try printing it in "onInit" or so. At
construction time variables are not initialized yet.
And for the plnkr template you can use this
one http://plnkr.co/edit/CqRAlGStnnlM2mV0jrLR?p=info (using alpha35, by now
alpha36 was released so it isn't updated yet). I forked it from another
user, I have my personal one with alpha36
: http://plnkr.co/edit/vRymOcLL5BiUdAtQhD5t?p=info
--
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 http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.