mirror of
https://github.com/arnaucube/decentralized-blogging-platform.git
synced 2026-02-07 19:36:40 +01:00
signup and login working
This commit is contained in:
16
webapp/views/main/main.js
Executable file
16
webapp/views/main/main.js
Executable file
@@ -0,0 +1,16 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('app.main', ['ngRoute'])
|
||||
|
||||
.config(['$routeProvider', function($routeProvider) {
|
||||
$routeProvider.when('/main', {
|
||||
templateUrl: 'views/main/main.html',
|
||||
controller: 'MainCtrl'
|
||||
});
|
||||
}])
|
||||
|
||||
.controller('MainCtrl', function($scope, $rootScope, $http) {
|
||||
|
||||
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user