Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Balwinder Katoch committed Dec 14, 2015
1 parent 30fffb4 commit b9a4eab
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions app/app.route.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/// <reference path="../typings/angularjs/angular.d.ts" />
/// <reference path="../typings/jquery/jquery.d.ts" />
/// <reference path="../typings/angular-ui-router/angular-ui-router.d.ts" />

module avam{
'use strict';
angular.module("avam").config(['$stateProvider', '$urlRouterProvider' ,
function($stateProvider,$urlRouterProvider){
$urlRouterProvider.otherwise('/home');
$stateProvider.state('home', {
url: '/home',
template: '<h1>Home</h1>'
})
.state('incomestatement',{
url: '/home',
template: '<h1>Income Statement</h1>'
})
}]);
}

0 comments on commit b9a4eab

Please sign in to comment.