-
Notifications
You must be signed in to change notification settings - Fork 12
Known Problems
jokade edited this page Jun 2, 2015
·
3 revisions
Problem: When specifying the attribute bindings in a @Component annotation, there seems to be a problem when the ->
notation is used for the js.Dictionary
:
@Component(ComponentDef(
selector = "foo",
bind = js.Dictionary(
"bar" -> "=" // may result in compile time error
)))
class Foo
Workaround: Use tuple notation for the bind dictionary, i.e.
@Component(ComponentDef(
selector = "foo",
bind = js.Dictionary(
("bar","=")
)))
class Foo
affected Versions: 0.2+
As of version 0.2, body scope Controller
s cannot be used in state definitions for ngRoute
or ui-router
(see #60). Please use ScopeController
s for routes instead.
affected Versions: 0.2+