Add angular-route
This commit is contained in:
parent
a059014b1b
commit
5466ce78f0
9 changed files with 1071 additions and 25 deletions
10
client/js/controllers/home.js
Normal file
10
client/js/controllers/home.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
/*
|
||||
* home Controller
|
||||
*/
|
||||
|
||||
|
||||
|
||||
mainApp.controller('homeCtrl', function ($scope)
|
||||
{
|
||||
$scope.test="Home view";
|
||||
});
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
* mainApp Controller
|
||||
*/
|
||||
|
||||
|
||||
|
||||
mainApp.controller('mainCtrl', function ($scope)
|
||||
{
|
||||
$scope.test="Test title";
|
||||
});
|
10
client/js/controllers/network.js
Normal file
10
client/js/controllers/network.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
/*
|
||||
* network Controller
|
||||
*/
|
||||
|
||||
|
||||
|
||||
mainApp.controller('networkCtrl', function ($scope)
|
||||
{
|
||||
$scope.test="Network View";
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue