this is my service
album.factory('albumService', function($resource) {
return $resource('/album/v1/album/:id', {id:'@id'})
});
however when I try to create an album
var newAlbum = new albumService($scope.album)
newAlbum.$save()
angular fires a post request to '/album/v1/album', which is wrong , it removes my trailing slash it should be '/album/v1/album/'.
because I'm using tastypie, without the trailing slash an error will rasie
You called this URL via POST, but the URL doesn't end in a slash
where is my trailing slash?