Forgot to include $q as a dependency.