wrote angular controllers post