Best practice - App wide constants


I’m wondering what is the best way to include constants like a server URL to use all over the app inside of components as well as the templates?
Obviously for the new Ionic 2 RC :slight_smile:

I use a provider so far but it doesn’t seem that smooth to be honest.