finish ch2 separating UI responsibility with controller,publishing model data with scopes