Will probably use angular resources as working with http and directly with promises is not that smooth