Skip to content

Instantly share code, notes, and snippets.

@mohuk
Created November 9, 2014 15:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mohuk/ff7e61e452cc5a35c00c to your computer and use it in GitHub Desktop.
Save mohuk/ff7e61e452cc5a35c00c to your computer and use it in GitHub Desktop.
userProfileMock
(function(){
'use strict';
angular.module('SAPortal.mocks')
.factory('userProfileData', userProfileData);
var userProfile = getJSONFixture('userProfile.json')[0];
function userProfileData(){
return {
userProfile : userProfile
}
}
}());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment