create Angular main controller