init angular for frontend