                          :onKeyDown #(handle-new-todo-keydown % app owner)})
                   (om/render main app [:todos] chans)
                   (om/render footer app []
-                    {:active active :completed completed :chans chans})]))))))
+                    {:active active :completed completed
+                     :chans chans :showing :all})]))))))
 
 (om/root app-state todo-app (.getElementById js/document "todoapp"))
 

          (str " " (pluralize active "item") " left"))
        (dom/ul #js {:id "filters"}
          (dom/li nil
            (dom/a #js {:href "#/" :className (selected showing)}
              "All"))
          (dom/li nil
            (dom/a #js {:href "#/active" :className (selected showing)}
              "Active"))
          (dom/li nil
            (dom/a #js {:href "#/completed" :className (selected showing)}
              "Completed"))
          clear-button)))))


                         #js {:id "clear-completed"
                              :onClick #(put! (:clear chans) (now))}
                         (str "Clear completed " completed)))
        selected (-> (zipmap [:all :active :completed] (repeat ""))
                     (assoc showing "selected"))]
    (dom/component
      (dom/footer #js {:id "footer"}
        (dom/span #js {:id "todo-count"}
