confirmed google analytics through angulartics are working, added flag to allow localhost testing.