Pokud chápeš princip MVC, tak snad chápeš, že potřebuješ Controller.https://docs.angularjs.org/guide/controller