added $q_ for usage when not using angularjs