connected frontend with backend'
angularised max stuff