client/app/home/home_controller.js
changeset 0 cef349423167
child 1 74bbdd739878
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/client/app/home/home_controller.js	Wed Jun 11 01:26:59 2014 +0200
@@ -0,0 +1,17 @@
+(function(){
+  'use strict';
+
+
+  angular.module('ammicoHome',['ngRoute'])
+    .config(function ($routeProvider) {
+      $routeProvider
+        .when('/', {
+          templateUrl: 'home/home.html',
+          controller: 'homeCtrl'
+        });
+    })
+    .controller('homeCtrl', function($scope, $location){
+      console.log('5-0',$scope, $location);
+    });
+
+})();