We should make a logger or use https://docs.angularjs.org/api/ng/service/$log