blob: 7dea0db847179b07348a395032bbe75df940e921 [file] [log] [blame]
Arpit Agarwal45fd7052016-08-16 09:33:22 -07001(function () {
2 'use strict';
3 angular.module('xos.UITutorial')
4 .service('LessonInfo', function(){
5
6 this.lessonCatalogue = (id) => {
7 let lessonData = [
8 {
9 id: 0,
10 text: 'lesson 0 info',
11 solution: 'Hello World'
12 },
13 {
14 id: 1,
15 text: 'lesson 1 info',
16 solution: 'Hello World'
17 },
18 {
19 id: 2,
20 text: 'lesson 2 info',
21 solution: 'Hello World'
22 },
23 {
24 id: 3,
25 text: 'lesson 3 info',
26 solution: 'Hello World'
27 },
28 {
29 id: 4,
30 text: 'lesson 4 info',
31 solution: 'Hello World '
32 },
33 {
34 id: 5,
35 text: 'lesson 5 info',
36 solution: 'Hello World'
37 }
38 ];
39 return lessonData[id];
40 }
41
42 });
43} )();