Skip to content

Instantly share code, notes, and snippets.

@Ollo
Last active August 29, 2015 14:06
Show Gist options
  • Save Ollo/143b07c8ba048fa08b90 to your computer and use it in GitHub Desktop.
Save Ollo/143b07c8ba048fa08b90 to your computer and use it in GitHub Desktop.
mock data
$scope.userBasicDetails.relationshipStages = [
{ id : "Single", name: "Single"},
{ id : "Married", name: "Married"}
];
// TODO: Display the correct amount of days in dropdown according to month.days
$scope.userBasicDetails.months = [
{ id : "Janurary", name: "Janurary", days: '31' },
{ id : "February", name: "February", days: '28' },
{ id : "March", name: "March", days: '31' },
{ id : "April", name: "April", days: '30' },
{ id : "May", name: "May", days: '31' },
{ id : "June", name: "June", days: '30' },
{ id : "July", name: "July", days: '31' },
{ id : "August", name: "August", days: '31' },
{ id : "September", name: "September", days: '30' },
{ id : "October", name: "October", days: '31' },
{ id : "November", name: "November", days: '30' },
{ id : "December", name: "December", days: '31' }
];
$scope.userBasicDetails.days = [
{ id: "1", name: "1"},
{ id: "2", name: "2"},
{ id: "3", name: "3"},
{ id: "4", name: "4"},
{ id: "5", name: "5"},
{ id: "6", name: "6"},
{ id: "7", name: "7"},
{ id: "8", name: "8"},
{ id: "9", name: "9"},
{ id: "10", name: "10"},
{ id: "11", name: "11"},
{ id: "12", name: "12"},
{ id: "13", name: "13"},
{ id: "14", name: "14"},
{ id: "15", name: "15"},
{ id: "16", name: "16"},
{ id: "17", name: "17"},
{ id: "18", name: "18"},
{ id: "19", name: "19"},
{ id: "20", name: "20"},
{ id: "21", name: "21"},
{ id: "22", name: "22"},
{ id: "23", name: "23"},
{ id: "24", name: "24"},
{ id: "25", name: "25"},
{ id: "26", name: "26"},
{ id: "27", name: "27"},
{ id: "28", name: "28"},
{ id: "29", name: "29"},
{ id: "30", name: "30"},
{ id: "31", name: "31"}
];
$scope.userBasicDetails.years = [
{ id: "1930", name: "1930"},
{ id: "1931", name: "1931"},
{ id: "1932", name: "1932"},
{ id: "1933", name: "1933"},
{ id: "1934", name: "1934"},
{ id: "1935", name: "1935"},
{ id: "1936", name: "1936"},
{ id: "1937", name: "1937"},
{ id: "1938", name: "1938"},
{ id: "1939", name: "1939"},
{ id: "1940", name: "1940"},
{ id: "1941", name: "1941"},
{ id: "1942", name: "1942"},
{ id: "1943", name: "1943"},
{ id: "1944", name: "1944"},
{ id: "1945", name: "1945"},
{ id: "1946", name: "1946"},
{ id: "1947", name: "1947"},
{ id: "1948", name: "1948"},
{ id: "1949", name: "1949"},
{ id: "1950", name: "1950"},
{ id: "1951", name: "1951"},
{ id: "1952", name: "1952"},
{ id: "1953", name: "1953"},
{ id: "1954", name: "1954"},
{ id: "1955", name: "1955"},
{ id: "1956", name: "1956"},
{ id: "1957", name: "1957"},
{ id: "1958", name: "1958"},
{ id: "1959", name: "1959"},
{ id: "1960", name: "1960"},
{ id: "1961", name: "1961"},
{ id: "1962", name: "1962"},
{ id: "1963", name: "1963"},
{ id: "1964", name: "1964"},
{ id: "1965", name: "1965"},
{ id: "1966", name: "1966"},
{ id: "1967", name: "1967"},
{ id: "1968", name: "1968"},
{ id: "1969", name: "1969"},
{ id: "1970", name: "1970"},
{ id: "1971", name: "1971"},
{ id: "1972", name: "1972"},
{ id: "1973", name: "1973"},
{ id: "1974", name: "1974"},
{ id: "1975", name: "1975"},
{ id: "1976", name: "1976"},
{ id: "1977", name: "1977"},
{ id: "1978", name: "1978"},
{ id: "1979", name: "1979"},
{ id: "1980", name: "1980"},
{ id: "1981", name: "1981"},
{ id: "1982", name: "1982"},
{ id: "1983", name: "1983"},
{ id: "1984", name: "1984"},
{ id: "1985", name: "1985"},
{ id: "1986", name: "1986"},
{ id: "1987", name: "1987"},
{ id: "1988", name: "1988"},
{ id: "1989", name: "1989"},
{ id: "1990", name: "1990"},
{ id: "1991", name: "1991"},
{ id: "1992", name: "1992"},
{ id: "1993", name: "1993"},
{ id: "1994", name: "1994"},
{ id: "1995", name: "1995"},
{ id: "1996", name: "1996"},
{ id: "1997", name: "1997"},
{ id: "1998", name: "1998"},
{ id: "1999", name: "1999"},
{ id: "2000", name: "2000"},
{ id: "2001", name: "2001"},
{ id: "2002", name: "2002"},
{ id: "2003", name: "2003"},
{ id: "2004", name: "2004"},
{ id: "2005", name: "2005"},
{ id: "2006", name: "2006"},
{ id: "2007", name: "2007"}
];
$scope.userBasicDetails.genders = [
{ id : "Male", name: "Male"},
{ id : "Female", name: "Female"}
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment