updates for openshift
try to fix openshift
type
ip and port from openshift
reverted dev dependencies
gulp dist task
proper angular controller definition
rudimentary error handling