FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
TypeScriptSamples/angular1/app/app.ts at master · tobby2002/TypeScriptSamples · GitHub
tobby2002
TypeScriptSamples
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
TypeScriptSamples
/
angular1
/
app
/
app.ts
Copy path
More file actions
More file actions
Latest commit
History
History
History
12 lines (11 loc) · 287 Bytes
Breadcrumbs
TypeScriptSamples
/
angular1
/
app
/
app.ts
Copy path
File metadata and controls
12 lines (11 loc) · 287 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
'use strict'
;
// Declare app level module which depends on views, and components
angular
.
module
(
'myApp'
,
[
'ngRoute'
,
'myApp.view1'
,
'myApp.view2'
,
'myApp.version'
]
)
.
config
(
[
'$routeProvider'
,
function
(
$routeProvider
)
{
$routeProvider
.
otherwise
(
{
redirectTo
:
'/view1'
}
)
;
}
]
)
;
Back
|
FazBrowse Home
|
New Git URL