fixed bug in nginx config
WIP - started using angular services