client/app/home/home_controller.js
author ymh <ymh.work@gmail.com>
Wed, 11 Jun 2014 01:26:59 +0200
changeset 0 cef349423167
child 1 74bbdd739878
permissions -rw-r--r--
add basic file org + client prototype

(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);
    });

})();