client/app/home/home_controller.js
changeset 0 cef349423167
child 1 74bbdd739878
equal deleted inserted replaced
-1:000000000000 0:cef349423167
       
     1 (function(){
       
     2   'use strict';
       
     3 
       
     4 
       
     5   angular.module('ammicoHome',['ngRoute'])
       
     6     .config(function ($routeProvider) {
       
     7       $routeProvider
       
     8         .when('/', {
       
     9           templateUrl: 'home/home.html',
       
    10           controller: 'homeCtrl'
       
    11         });
       
    12     })
       
    13     .controller('homeCtrl', function($scope, $location){
       
    14       console.log('5-0',$scope, $location);
       
    15     });
       
    16 
       
    17 })();