Basic Todo sample with clojure data

{{(remaining)}} of {{(count todos)}} remaining [ archive ]

The upper scope todos object:

{{todos}}


Basic Todo sample with clojure data in atoms

Record-level atoms are the best solution for data entry because they work fluidly in exactly the same way that regular scoped data in angular does.

{{(remaining)}} of {{(count @todos)}} remaining [ archive ]

Function composition within template expressions

{{x}}: {{(first x)}} + 1 = {{(addone x)}} = {{(addone x)}}. {{(first x)}} is {{(if (last x) "odd" "even")}}