Skip to content

Commit a426a97

Browse files
committed
2nd commit
1 parent b4ba41c commit a426a97

37 files changed

+430
-76
lines changed

client/app/app.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@ import angular from 'angular';
22
import uiRouter from 'angular-ui-router';
33
import Common from './common/common';
44
import Components from './components/components';
5+
import angularfire from 'angularfire';
56
import AppComponent from './app.component';
67
import 'normalize.css';
78

89
angular.module('app', [
910
uiRouter,
11+
angularfire,
1012
Common.name,
1113
Components.name
1214
])

client/app/app.styl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
.app
22
height 100%
33
background-color $lightBgColor
4+
5+
6+
body{
7+
font-family: "proxima-nova";
8+
font-weight:300;
9+
font-size:20px;
10+
}

client/app/common/common.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
import angular from 'angular';
22
import Navbar from './navbar/navbar';
3-
import Hero from './hero/hero';
43
import User from './user/user';
4+
import Groups from './groups/groups';
5+
56

67
let commonModule = angular.module('app.common', [
78
Navbar.name,
8-
Hero.name,
9-
User.name
9+
User.name,
10+
Groups.name
1011
]);
1112

1213
export default commonModule;
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
let GroupsFactory = function($firebaseArray, $firebaseAuth, $state){
2+
3+
var ref = new Firebase('https://jsclass.firebaseio.com/');
4+
var authObj = $firebaseAuth(ref);
5+
6+
var getGroups = function(){
7+
[];
8+
}
9+
10+
11+
12+
13+
return {getGroups};
14+
};
15+
16+
17+
18+
export default UserFactory;

client/app/common/groups/groups.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import angular from 'angular';
2+
import GroupsFactory from './groups.factory';
3+
4+
5+
let groupsModule = angular.module('groups', [])
6+
.factory('Groups', GroupsFactory);
7+
8+
export default groupsModule;

client/app/common/hero/hero.component.js

Lines changed: 0 additions & 16 deletions
This file was deleted.

client/app/common/hero/hero.controller.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

client/app/common/hero/hero.html

Lines changed: 0 additions & 4 deletions
This file was deleted.

client/app/common/hero/hero.js

Lines changed: 0 additions & 11 deletions
This file was deleted.

client/app/common/hero/hero.styl

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)