Reconfigured for ngboilerplate style