-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.js
51 lines (45 loc) · 1.19 KB
/
app.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
** Dependencies
*/
var angular = require('angular');
var uirouter = require('angular-ui-router');
require('firebase');
require('angularfire');
require('angular-animate');
require('angular-moment');
var FBconfig = {
apiKey: "AIzaSyD5B_DssWCtBgWn_2-Cy0LhTZGeErAYAJE",
authDomain: "100meter.firebaseapp.com",
databaseURL: "https://100meter.firebaseio.com",
storageBucket: "project-8799195801841300390.appspot.com",
};
firebase.initializeApp(FBconfig);
/*
** App
*/
var app = angular.module('app', ['ui.router', 'firebase', 'ngAnimate', 'angularMoment']);
/*
** Run & Config
*/
require('./src/app/app.config.js')(app);
/*
** Services
*/
require('./src/services/FirebaseService')(app);
require('./src/services/AppFilters')(app);
require('./src/services/AppDirectives')(app);
require('./src/services/AppServices')(app);
/*
** Controllers
*/
require('./src/app/Home/HomeController')(app);
require('./src/app/Project/ProjectController')(app);
/*
** Styles
*/
require("./src/styles/home-theme.less");
require("./src/styles/main.css");
require("./src/styles/animations.css");
require("./src/styles/project.less");
require("./src/styles/account.less");
require("./src/styles/lightbox.less");