darkID-prototype/darkID-login-example/web/views/main/main.js
darkID-login-example/web/views/main/main.jsRaw
1'use strict';
2
3angular.module('app.main', ['ngRoute'])
4
5 .config(['$routeProvider', function($routeProvider) {
6 $routeProvider.when('/main', {
7 templateUrl: 'views/main/main.html',
8 controller: 'MainCtrl'
9 });
10 }])
11
12 .controller('MainCtrl', function($scope, $rootScope, $http) {
13
14
15 });