Yes, it is valid, but in that case it will be a raw string, so it will work for you. If you want an expression to be evaluated inside "mytext" you will have to use brackets.
El lunes, 31 de agosto de 2015, 23:12:35 (UTC-3), Vern Jensen escribió: > > Just tried doing > > mytext="Mary" (no brackets) and leaving it "properties" in the @Component > and that works. Is this the proper way to initialize components when you > don't need data-binding -- you just want to pass initial values to your > component? > -- 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.
