build front-end angular module and controllers