Fixed bugs of lt or gt

change from "template: '{{ myName }} <ul> <li *for="#name of names"<{{ name }}>/li< >/ul<',"
to "template: '{{ myName }} <ul> <li *for="#name of names">{{ name }}</li> </ul>',"
This commit is contained in:
Trotyl Yu 2015-04-27 00:19:07 +08:00
parent 976af3ce86
commit e7e9f07316
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@
injectables: [FriendsService]
}),
new angular.View({
template: '{{ myName }} &lt;ul&gt; &lt;li *for="#name of names"&lt;{{ name }}&gt;/li&lt; &gt;/ul&lt;',
template: '{{ myName }} &lt;ul&gt; &lt;li *for="#name of names"&gt;{{ name }}&lt;/li&gt; &lt;/ul&gt;',
directives: [angular.For, angular.If]
})
];