main client module, AngularJS application with routing
More...
Go to the source code of this file.
|
angular | module ('myApp', ['ngRoute', 'pascalprecht.translate', 'myAppControllers', 'myAppServices']).config(['$routeProvider' |
|
$routeProvider | otherwise ({redirectTo: '/main'}) |
|
$translateProvider | useStaticFilesLoader ({prefix: 'lang/', suffix: '.json'}) |
|
$translateProvider | preferredLanguage ('en') |
|
|
angular | $translateProvider |
|
function | $routeProvider |
|
main client module, AngularJS application with routing
Definition in file app.js.
function $translateProvider |
Initial value:{
$routeProvider.when('/main', {
templateUrl: 'views/main.html',
})
Definition at line 5 of file app.js.