friend view i pripadni controler + factory