bioweb  0.09.92
C++/Python(django)/JavaScript(angularJS) framework
Functions | Variables
app.js File Reference

main client module, AngularJS application with routing More...

Go to the source code of this file.

Functions

angular module ('myApp', ['ngRoute', 'pascalprecht.translate', 'myAppControllers', 'myAppServices']).config(['$routeProvider'
 
$routeProvider otherwise ({redirectTo: '/main'})
 
$translateProvider useStaticFilesLoader ({prefix: 'lang/', suffix: '.json'})
 
$translateProvider preferredLanguage ('en')
 

Variables

angular $translateProvider
 
function $routeProvider
 

Detailed Description

main client module, AngularJS application with routing

Definition in file app.js.

Variable Documentation

function $translateProvider
Initial value:
{
$routeProvider.when('/main', {
templateUrl: 'views/main.html',
})

Definition at line 5 of file app.js.