Does this help?
https://github.com/dlidstrom/MinaGlosor/blob/master/MinaGlosor.Test/Web/spec/wordlistservice.spec.js
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
Let's say I have this service. PhotoService.getPhotos returns an $http
promise:
angular.module('app').factory('PhotoService', function($http) {
return {
getPhotos: function() {
return $http({
method: 'GET',
url: '/photos',
params: {
showAuthor: true,