The context keyword

We call "context", the root of the JSON that is passed to an HTML for rendering.

When we want to access the root element of this JSON we need to use a special notation.

We called it: context

Each time we need to reference it in our directives, we use this keyword.

ie:

var directive = {
  'li' : {
    'list <- context' : {
       ...
    }
  }
}

It means: iterate the LI node for each item found in the root of the JSON.

Note: the notation 'list <- context' is equivalent to 'list<-'