Skip to content

Known Problems

jokade edited this page Jun 2, 2015 · 3 revisions

Known Problems & Limitations

Component

bind

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+

ngRoute / ui-router

Controller

As of version 0.2, body scope Controllers cannot be used in state definitions for ngRoute or ui-router (see #60). Please use ScopeControllers for routes instead.

affected Versions: 0.2+

Clone this wiki locally