feat(build): add ng-constant

Now uses IP based url for production endpoint. This needs to be fixed
at some point.