ok, i got my fault. this in only implemented in angular 1.4.
Am 15.05.2015 um 04:14 schrieb Johannes Schneider:
hey list, i've some issues using ng-class array style: Works: <div ng-class="{success: course.invited}"/> Fails (baby example): <div ng-class="[{success: course.invited}]"/> also Fails: <div ng-class="[{success: course.invited}, some-other-class]"/>i don't see the difference between the code above and the example code from https://docs.angularjs.org/api/ng/directive/ngClass:ExampleCode: <div ng-class="[style4, {orange: warning}]"/> bg, Johannes
-- -- Mit freundlichen Grüßen Johannes Schneider Front-End-Entwickler Philippka-Sportverlag Rektoratsweg 36 48159 Münster Tel.: 0251/23 005-27 Fax: 0251/23 005-79 www.philippka.de Philippka-Sportverlag GmbH & Co. KG - AG Münster HRA 9751 Persönl. haftende Gesellschafterin: Philippka Verwaltungs-GmbH AG Münster HRB 14729 - Geschäftsführer: Ferdinand Honig, Thorsten Krybus -- 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.
