rename 'login' to 'Auth' to handle further authentication functions
authorrougeronj
Mon, 23 Mar 2015 12:24:13 +0100
changeset 25 4053d9a44548
parent 24 21ecbde9e080
child 26 c7dfe7185ef7
rename 'login' to 'Auth' to handle further authentication functions
client/app/Auth/auth.html
client/app/Auth/auth_controller.js
client/app/Auth/login_controller_test.js
client/app/login/login.html
client/app/login/login_controller.js
client/app/login/login_controller_test.js
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/client/app/Auth/auth.html	Mon Mar 23 12:24:13 2015 +0100
@@ -0,0 +1,1 @@
+Authentication Page
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/client/app/Auth/auth_controller.js	Mon Mar 23 12:24:13 2015 +0100
@@ -0,0 +1,15 @@
+(function(){
+  'use strict';
+
+
+  angular.module('ammicoAuth',['ngRoute'])
+    .config(function ($routeProvider) {
+      $routeProvider
+        .when('/', {
+          templateUrl: 'auth/auth.html',
+          controller: 'authCtrl'
+        });
+    })
+    .controller('authCtrl', function(){
+    });
+})();
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/client/app/Auth/login_controller_test.js	Mon Mar 23 12:24:13 2015 +0100
@@ -0,0 +1,7 @@
+'use strict';
+
+describe("auth_controller_test", function(){
+    it("should assert something",function(){
+        expect(true).toBe(true);
+    })
+})
--- a/client/app/login/login.html	Mon Mar 23 12:22:44 2015 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-coucou
\ No newline at end of file
--- a/client/app/login/login_controller.js	Mon Mar 23 12:22:44 2015 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-(function(){
-  'use strict';
-
-
-  angular.module('ammicoLogin',['ngRoute'])
-    .config(function ($routeProvider) {
-      $routeProvider
-        .when('/', {
-          templateUrl: 'login/login.html',
-          controller: 'loginCtrl'
-        });
-    })
-    .controller('loginCtrl', function($http){
-    	$http.get('http://127.0.0.1:8080/ammico/login/?&username=toto@gmail.com').
-    	  success(function() {
-    	    console.log('KATAPLA !');
-    	  });
-    });
-})();
--- a/client/app/login/login_controller_test.js	Mon Mar 23 12:22:44 2015 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-'use strict';
-
-describe("login_controller_test", function(){
-    it("should assert something",function(){
-        expect(true).toBe(true);
-    })
-})