Skip to content

Commit

Permalink
fixed module heading
Browse files Browse the repository at this point in the history
  • Loading branch information
jmccutchanwd committed Feb 16, 2017
1 parent 540f4b3 commit 7302097
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 18 deletions.
2 changes: 1 addition & 1 deletion app/app.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* John McCutchan ========================================= */
'use-strict';
console.log("App-on");
angular.module('UserApp', ['firebase', 'ui.router'])
angular.module('UserApp', ['firebase', 'ui.router', 'angular-md5'])
16 changes: 8 additions & 8 deletions app/config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* John McCutchan ========================================= */
console.log("Config-on");
angular.module('UserApp', ['firebase', 'ui.router'])
angular.module('UserApp')
.config(function ($stateProvider, $urlRouterProvider){
var config = {
apiKey: "AIzaSyAT3nZ5i2HSjhZbQbeulTd1J5wM2OAq5uU",
Expand All @@ -15,27 +15,27 @@ angular.module('UserApp', ['firebase', 'ui.router'])
.state('home', {
url: '/',
templateUrl: 'partials/main.html',
controller: 'MainCtrl as mainCtrl'
controller: 'MainCtrl as mainCtrl',
})
.state('main', {
url: '/main',
.state('start', {
url: '/start',
templateUrl: 'partials/start.html',
controller: 'MainCtrl as mainCtrl'
controller: 'MainCtrl as mainCtrl',
})
.state('login', {
url: '/login',
templateUrl: 'partials/login.html',
controller: 'LoginCtrl as loginCtrl'
controller: 'LoginCtrl as loginCtrl',
})
.state('register', {
url: '/register',
templateUrl: 'partials/register.html',
controller: 'RegisterCtrl as registerCtrl'
controller: 'RegisterCtrl as registerCtrl',
})
.state('chat', {
url: '/chat',
templateUrl: 'partials/chat.html',
controller: 'ChatCtrl as chatCtrl'
controller: 'ChatCtrl as chatCtrl',
})

$urlRouterProvider.otherwise('/');
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/chat.controller.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* John McCutchan ========================================= */
console.log('ChatCtrl-on');
angular.module('UserApp', ['firebase', 'ui.router'])
angular.module('UserApp')
.controller('ChatCtrl', function(){
var chatCtrl = this;
})
2 changes: 1 addition & 1 deletion app/controllers/login.controller.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* John McCutchan ========================================= */
console.log('LoginCtrl-on');
angular.module('UserApp', ['firebase', 'ui.router'])
angular.module('UserApp')
.controller('LoginCtrl', function(){
var loginCtrl = this;
})
2 changes: 1 addition & 1 deletion app/controllers/main.controller.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* John McCutchan ========================================= */
console.log('MainCtrl-on');
angular.module('UserApp', ['firebase', 'ui.router'])
angular.module('UserApp')
.controller('MainCtrl', function(){
var mainCtrl = this;
})
2 changes: 1 addition & 1 deletion app/controllers/register.controller.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* John McCutchan ========================================= */
console.log('MainCtrl-on');
angular.module('UserApp', ['firebase', 'ui.router'])
angular.module('UserApp')
.controller('registerCtrl', function(){
var registerCtrl = this;
})
2 changes: 1 addition & 1 deletion app/services/login.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* John McCutchan ========================================= */
console.log("Login services-on");
angular.module('UserApp', ['firebase', 'ui.router'])
angular.module('UserApp')
.service('LoginServices', function(){

})
2 changes: 1 addition & 1 deletion app/services/post.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* John McCutchan ========================================= */
console.log("Post Services-on");
angular.module('UserApp', ['firebase', 'ui.router'])
angular.module('UserApp')
.service('PostServices', function(){

})
6 changes: 4 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<title>nuTalk</title>
<!-- Bootstrap -->
<link rel="stylesheet" href="/lib/bootstrap/dist/css/bootstrap.min.css">
<base href="/app/"></base>
<!-- <base href="/app/"></base> -->
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
Expand Down Expand Up @@ -48,8 +48,10 @@ <h4>This is a footer.</h4>
<script src="/lib/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- Angular Library -->
<script src="/lib/angular/angular.min.js"></script>
<!-- -->
<!-- Angularfire -->
<script src="/lib/angularfire/dist/angularfire.js"></script>
<!-- Angular md5-->
<script src="/lib/angular-md5/angular-md5.js"></script>
<!-- Angular-Ui-Router Library -->
<script src="/lib/angular-ui-router/release/angular-ui-router.js"></script>
<!-- Firebase -->
Expand Down
2 changes: 1 addition & 1 deletion partials/main.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
<a href="#">
<a ui-sref="start">
<img src="/images/gsd.png" alt="sales login button" class="img img-fluid width"></a>
</div>

0 comments on commit 7302097

Please sign in to comment.