Two examples of connecting views and factories by using controllers. Level: basic